ReadonlycontrolReadonlystate: Omit<ControlStateApi, "allowInput">Readonlyuuid: stringReturns the control's data object.
ReadonlypageReadonlyfield: {Invokes the callback whenever any field value is unmasked. fieldValue is optional for the case where a mode change results in the masked field not being present in the page response.
The callback function.
A function that removes the callback.
The supplied callback function will run whenever there is a field change.
The callback that will be invoked when there is a field change.
A function that removes the callback.
Add callbacks to know when the field is reset.
Called when the field is reset.
A function that removes the callback.
Invokes the callback whenever the specified field's value is unmasked. fieldValue is optional for the case where a mode change results in the masked field not being present in the page response.
The field.
The callback function.
A function that removes the callback.
Resets the field's value to what it was before any edits in the current page mode.
The field to reset.
Fetches the unmasked field value and returns it. Note that this also mutates the entry in the field values map, such that subsequent get field value calls return the unmasked value. If the field is already unmasked the returned promise immediately resolves to the value without the fetch. If the user is not authorized to reveal the redacted field, the returned promise will reject.
The field.
A promise that resolves to the field value.
Readonlyfile: {Adds the given files to the supplied category.
Deletes files with a matching UUIDs to those in the supplied array of UUID's.
Array of file UUIDs to be deleted.
Deletes the files at the given indexes from the supplied category.
The indexes.
The file category.
Returns the number of pending adds for the supplied category.
The category to get the number of pending adds for.
Returns the file with the UUID that matches the supplied UUID.
The UUID of the file to be retrieved.
Returns the number of pending deletes for the supplied category.
The category for which to get the number of pending deletes.
Returns the files for the supplied category.
The file category.
Returns the files fetch promise for the current object. Files are lazily loaded for children.
The supplied callback function will run whenever there is a file change.
The callback that will be invoked when there is a file change.
Add callbacks to know when the category is reset.
Called when the category is reset.
A function that removes the callback.
The callback will run whenever there is an upload of a file.
The callback.
A function that stops the callback running.
Resets the files of the given category to what they were before any edits were made in the current page mode.
The category to reset.
Validates and uploads existing file models.
The file models.
ReadonlyisDraft: booleanReturns whether the page is a draft.
OptionalobjectLabel?: stringAdds a menu item for the page. Note that this applies to object pages that are not part of a wizard, that is, adding a menu item to the parent object header.
The options for the menu item: the text string, a click listener function, and an optional function to disable the item.
A function that removes the menu item.
Returns the actions for the given name.
The action name.
An array of all the actions.
Returns the reference data label for a given reference data field and code. Note that this is relevant only in View mode, when labels for codes in the field values are returned in the data source part of the page response (meaning there is no need to fetch all reference data).
The reference data field.
The reference data code.
Returns the user group name for the given ID and type. Note that only names that are given as part of the pages' users or groups can be returned (i.e. existing user group values from field values).
The ID of the user group.
The type of the user group.
Invokes the callback whenever a page changes mode.
The callback function.
A function that removes the callback.
An API of methods and properties on a control with no value.