Feature and table layers can include related photos or other files as attachments, which you can view from an attribute table. When creating a flow with these actions, you must have feature layer editing permissions. If you do not have the appropriate permissions, you can't save or run the flow.
Available connectors
- ArcGIS Online (ArcGIS)
- ArcGIS Enterprise
Add attachment
This action adds an attachment to a record in a feature layer.
Parameters
| Name | Key | Required | Type | Description |
|---|---|---|---|---|
Layers in | contentFilter | Yes | string | When you sign in using your ArcGIS account, you can search for content in your organization, your organization's groups, or public content. |
Feature layer | userLayer | Yes | string | Select a feature layer from your ArcGIS content. |
Record ID | objectId | Yes | number | Enter the object ID of the record associated with the attachment. |
Attachment name | attachmentName | Yes | string | Enter the name of the file that will be attached. |
File content | data | Yes | binary | Select file content from another action. |
Keywords | keywords | No | string | Enter keywords used to identify the attachment. |
Delete attachment
This action deletes an attachment from a record in a feature layer.
Parameters
| Name | Key | Required | Type | Description |
|---|---|---|---|---|
Layers in | contentFilter | Yes | string | When you sign in using your ArcGIS account, you can search for content in your organization, your organization's groups, or public content. |
Feature layer | userLayer | Yes | string | Select a feature layer from your ArcGIS content. |
Record ID | objectId | Yes | number | Enter the object ID of the record associated with the attachment. |
Attachment ID(s) | attachmentIds | Yes | string | Select the ID or IDs of the attachment in a record from your feature layer. |
Get attachment
This action retrieves an attachment from an entered URL.
Parameters
| Name | Key | Required | Type | Description |
|---|---|---|---|---|
Layers in | contentFilter | Yes | string | When you sign in using your ArcGIS account, you can search for content in your organization, your organization's groups, or public content. |
Feature layer | userLayer | Yes | string | Select a feature layer from your ArcGIS content. |
Object ID | objectId | Yes | number | Enter the object ID of the record associated with the attachment. |
Attachment | attachmentId | Yes | number | Select the attachment name or enter the attachment ID. |
Get attachment from URL
This action updates an attachment to an existing record in a feature layer.
Parameters
| Name | Key | Required | Type | Description |
|---|---|---|---|---|
Attachment URL | attachmentUrl | Yes | string | This is the URL associated with the attachment in a record in your feature layer. |
Query attachment
This action updates an existing record in a feature layer.
Parameters
| Name | Key | Required | Type | Description |
|---|---|---|---|---|
Layers in | contentFilter | Yes | string | When you sign in using your ArcGIS account, you can search for content in your organization, your organization's groups, or public content. |
Feature layer | userLayer | Yes | string | Select a feature layer from your ArcGIS content. |
Record ID | objectId | Yes | number | Enter the object ID of the record associated with the attachment. |
Keywords | keywords | No | string | Enter keywords used to identify the attachment. |
Update attachment
This action updates an attachment to an existing record in a feature layer.
Parameters
| Name | Key | Required | Type | Description |
|---|---|---|---|---|
Layers in | contentFilter | Yes | string | When you sign in using your ArcGIS account, you can search for content in your organization, your organization's groups, or public content. |
Feature layer | userLayer | Yes | string | Select a feature layer from your ArcGIS content. |
Object ID | objectId | Yes | number | Enter the object ID of the record associated with the attachment. |
Attachment to be updated | attachmentId | Yes | number | Select the updated attachment's name or enter the attachment ID. |
Updated attachment name | attachmentName | Yes | string | Enter the name of the updated file. |
File content | data | Yes | binary | Select file content from another action. |