Please enable JavaScript to view this site.

Version:

Navigation: Activities > Activity Reference

Query Attachment Infos Activity

Prev Top Next More

Description

Query for information about attachments associated with the specified object ID.

Usage

You could use the Query Attachment Infos and Display Form activities to allow the user to select an attachment and then delete it using the Delete Attachments activity.

Inputs

Url

Optional

Type: String

The URL of the ArcGIS feature layer or table. Either Url or Layer is required.

For example, http://server/arcgis/rest/services/<serviceName>/MapServer/<layerIdOrTableId> or http://server/arcgis/rest/services/<serviceName>/FeatureServer/<layerIdOrTableId>.

Layer

Optional

Type: esri.Layer (3.x, 4.x)*

The ArcGIS feature layer or table. Either Url or Layer is required.

Object Id

Required

Type: Number

The object ID for the feature or record to query for attachment information.

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

infos

Type: Object[]

Information about the attachments associated with the feature.

Each element in this array is an object with the following properties: id, name, contentType, size.

Properties

For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.

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.

© 2024 VertiGIS North America Ltd. All Rights Reserved. | Privacy Center | Imprint
Documentation Version 5.42 (58a5caf5)