Add Attachment Activity
Description
Add an attachment to the feature or record specified by the object ID.
Usage
You could use a Display Form activity to allow the user to select a file on their computer via a File Picker form element and then use an Add Attachment activity to add it to a feature.
Inputs
Url |
Optional Type: String The URL of the ArcGIS feature layer or table. Either Url or Layer is required. For example, |
Layer |
Optional The ArcGIS feature layer or table. Either Url or Layer is required. |
Object Id |
Required Type: Number The object ID of the feature or record to which the attachment is added. |
Attachment |
Required Type: File The attachment to add. |
Geodatabase Version |
Optional Type: String The geodatabase version on which to perform the operation. This argument only applies to layers and tables that support versioned data. |
Timeout |
Optional Type: Number The time span in milliseconds to wait for the request's results. |
* VertiGIS Studio Workflow uses different versions of Esri's ArcGIS API for JavaScript depending on the type of host application. See Underlying Technologies for information.
Outputs
result |
Type: any The result object indicating if the attachment was successfully added. |
Properties
For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.
Supported Environments
Environments capable of running this activity
Server
|
Client |
||||
Web |
Mobile |
Experience Builder |
Web AppBuilder |
Geocortex Viewer for HTML5 |
|
---|---|---|---|---|---|
|
|
|
|
|
|
Levels of Support: |
Connectivity Requirements
For this activity to work when the device has intermittent connectivity to the network, the activity must run in the following application:
-
VertiGIS Studio Mobile
-
The app must have a map area that includes the feature layer or table.
-
You must use the Layer input to specify the layer or table, not the Url input.
-
Version Information
Supported from: Geocortex Viewer for HTML5 2.9, ArcGIS Web AppBuilder 2.4.