Select to view content in your preferred language

Unable to access attachments from AGOL hosted feature layer

2171
10
05-11-2023 09:44 AM
GIS_Admin
Occasional Contributor

I am trying to author a flow where when a record is added to an AGOL hosted feature layer, I pull the attribute information and the attachment (photo) and email them to someone. Right now I use the When a record is created in a feature layer trigger then use the Fetch updates, changes, or deletions from feature layer action. This grabs all the attribute information, but will not return any attachments. The response shows an empty array:

FetchResult.png

When I use the REST endpoint of the service, I can see the attachment:

RestResult.png

I tried using the Get attachment action and it's greyed out since there's no data getting passed: 

GetAttachment.png

Lastly, I tried the Get data from feature layer action and still get nothing for attachments.

Am I missing something here? 

 

 

0 Kudos
10 Replies
TimLohnes1
Frequent Contributor

Good find. So close, then denied. So seems like this doesn't work. Hoping this can get fixed, ESRI, or more specific documentation.

 

0 Kudos