Hello,
I have a couple questions regarding the option in AGOL to keep track of changes to the data field (add, update, delete features).
Thank You!
Solved! Go to Solution.
Is the purpose of this function to archive changes to any AGOL hosted feature layers?
No. It tracks the change event only. It's basically a giant table of time + note if an add, update or delete was made.
It's useful for monitoring change events. E.g. fire a webhook response when a feature is edited in field maps.
Can we view any changes (including deletions) in ArcGIS Pro?
Not the changes, just if a change happened. And not really in Pro, more via REST API or ArcGIS Online which you could move to pro.
I noticed I cannot turn keep track of changes to the data on or off in the settings menu. This is true even if I turn editing off. Why is that and how can I turn keep track of changes off?
Best guess is it's a view, you need to disable on parent layer. Otherwise maybe read through the documentation above.
Is there anything else I need to know about this function?
What you're looking for is called versioning and it requires an enterprise geodatabase / ArcGIS Server. In ArcGIS Online your tracking options are more limited. General recommendations are regular data backups offline (you could use an enterprise geodatabase here to version change), or the use of related tables for 'adds only' against existing records.
Hey @LyonMNGIS
I was able to find documentation:
Hope this helps! Feel free to reply to this thread with any additional questions.
- Koen
Additional section in that article:
Is the purpose of this function to archive changes to any AGOL hosted feature layers?
No. It tracks the change event only. It's basically a giant table of time + note if an add, update or delete was made.
It's useful for monitoring change events. E.g. fire a webhook response when a feature is edited in field maps.
Can we view any changes (including deletions) in ArcGIS Pro?
Not the changes, just if a change happened. And not really in Pro, more via REST API or ArcGIS Online which you could move to pro.
I noticed I cannot turn keep track of changes to the data on or off in the settings menu. This is true even if I turn editing off. Why is that and how can I turn keep track of changes off?
Best guess is it's a view, you need to disable on parent layer. Otherwise maybe read through the documentation above.
Is there anything else I need to know about this function?
What you're looking for is called versioning and it requires an enterprise geodatabase / ArcGIS Server. In ArcGIS Online your tracking options are more limited. General recommendations are regular data backups offline (you could use an enterprise geodatabase here to version change), or the use of related tables for 'adds only' against existing records.
Hot off the ESRI UC I was wrong about change logs, apparently you can recover it as JSON. Explains why the logs get so large.
Have to use rest API.
@ChristopherCounsell can you please explain how to do this in the new AGOL release: "more via REST API or ArcGIS Online"? I've been trying to follow a process guided by ChatGPT but I think it may be outdated.
@ChristopherCounsell Your original reply was helpful. Thanks.
Here’s a related article: Added, Updated or Deleted? Track changes to your data in ArcGIS Online
Hey Christopher, I was running into similar issues but with viewing the table of events. I've made several changes to a hosted layer, saved it. Then attempted to view the change log, and nothing appears. Is the change log not viewable in ArcGIS online? Currently I wanna start with the capability of seeing when someone makes any type of change and keeping track of that, with later capabilities of starting a server and keeping track of what changes were made more specifically.