Attachments Form Element
A form element that holds one or more attachments on a feature. The AttachmentsFormElement specifies how one or more attachments can participate in the form. When present in the form, the user has the ability to edit the list of attachments specific to the form element.
Since
200.5.0
Properties
Returns all the current attachments. This is empty if attachments haven't yet been fetched.
True if the element is editable, False otherwise. This property can be modified by the editable expression, which can be set during Feature Form authoring.
Inherited properties
A detailed description of the element.
A descriptive label that appears with the element. If not supplied, a FieldFormElement is labeled with the alias property of the associated field.
Unknown data from the source JSON. Unknown JSON is a dictionary of values that was in the source JSON but was unparsed by the Runtime.
Unsupported data from the source JSON. Unsupported JSON is a dictionary of values that are supported by web maps, but not exposed through the native Runtime API.
Functions
Adds a new attachment to this AttachmentsFormElement.
Adds a new attachment to this AttachmentsFormElement.
Deletes an attachment from the Feature.
Fetches the attachments from the Feature and populates AttachmentsFormElement.attachments. Attachments are not re-fetched if they have already been fetched.