Users adding photos to existing point can delete previously collected attachments.
The ArcGIS REST API to add attachments requires the Update or Create ability:
https://developers.arcgis.com/rest/services-reference/enterprise/add-attachment.htm
We want our fieldworkers to maintain existing assets, not create new ones, so we enable Update.
But Delete Attachments is a feature update. It requires the Update capability:
https://developers.arcgis.com/rest/services-reference/enterprise/delete-attachments.htm
This makes zero sense from a data management perspective as we don't want users to delete collected data.
A workaround is to add photos to records in a related table (only 'Creating' records + attachments). But then they become nested, and as the attachments are not directly related to the parent geometry they can't be visualized in the parent table pop-up.
Enterprise equivalent idea:
@ChristopherCounsell yes 100% agreed. It's mind boggling how you can't get granular enough to restrict users from deleting things. Just need an option to leave attachments out of it.
Don't get me started about the no recovery in AGOL...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.