Is there a way to create a field that automatically calculates the URL for an attachment associated with a feature in an AGOL Hosted Feature Layer?
I am using a webhook to send data from a feature layer to a database through Make.com. All the string and number fields post just fine, but I also need a field that lists the attachment URL that can be used to download/upload attachments into my database.
I want to be able to capture an image and attach it to a feature using Field Maps or Survey123, then have the URL for the attachment automatically populated in a field in the feature layer so the webhook can access the file.
Ideally, I want this to be automatic, not a tool I have to periodically run in Pro because the webhook grabs the data and imports it into the database immediately after the feature is created/updated. If the Attachment URL field is empty, the attachment will not be included in the import. If necessary, I can change the webhook settings and have it run on a timed interval if the only option is a tool that runs on a schedule in ArcGIS.