Add Attachment Activity


Adds an attachment to a feature of an ArcGIS Server feature layer.

Inheritance Hierarchy:



This activity allows you to upload a file as an attachment to a feature in a feature layer.

In a Workflow:

You would use this activity to add new files as attachments to a feature in a feature layer.


Name Description

In Arguments


The byte content of the file to attach. If both Content and File Uri are provided Content will be used.

Content Type

The MIME type of the file. If no value is provided the content type will be derived from the extension of the file name.


The network credentials that are sent to the host and used to authenticate the request.

Feature Id

The ID of the feature to add the attachment to.

Feature Layer Url

The URL of the ArcGIS Server feature layer. The layer must support attachments. For example: http://server/arcgis/rest/services/<serviceName>/FeatureServer/<layerId>.

File Name

The name of the attachment. If no value is provided the name of the file from the File Uri will be used.

File Uri

The absolute URI to the file to attach. For example: C:\Temp\MyFile.txt or http://server/MyFile.txt. If both Content and File Uri are provided Content will be used.

GDB Version

The geodatabase version on which the operation will be performed. This argument only applies to layers that support versioned data.

Proxy Url

The URL to proxy the request through.


The token for accessing a secure ArcGIS task.


Display Name


You can change the name of an activity to one that describes what it does. A descriptive name can make a workflow easier to interpret and maintain.

Out Arguments


The attachment operation result.

Version Information:

Supported from: Geocortex Essentials 3.7.

© 2021 VertiGIS North America Ltd. All Rights Reserved.

Documentation Version 4.14