Select to view content in your preferred language

How does keep track of changes to the data work? How can we view historic data

215
4
Jump to solution
a month ago
Labels (2)
LyonMNGIS
Occasional Contributor III

Hello,

I have a couple questions regarding the option in AGOL to keep track of changes to the data field (add, update, delete features).

  1. Is the purpose of this function to archive changes to any AGOL hosted feature layers?
  2. Can we view any changes (including deletions) in ArcGIS Pro?
  3. 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?
  4. Is there anything else I need to know about this function?

Thank You!

 

LyonMNGIS_0-1721137302350.png

LyonMNGIS_1-1721137370515.png

 

 

 

1 Solution

Accepted Solutions
ChristopherCounsell
MVP Regular Contributor

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.

View solution in original post

0 Kudos
4 Replies
Koen
by Esri Contributor
Esri Contributor

Hey @LyonMNGIS 

I was able to find documentation:

  • Also, if you publish a hosted tile layer from the hosted feature layer, and the hosted tile layer is configured to build tiles automatically, you cannot disable the Keep track of changes to the data (add, update, delete features) option on the hosted feature layer.
  • The Keep track of changes to the data (add, update, delete features) option allows custom applications to identify which features have been added, updated, or deleted. This setting is enabled automatically when you publish a tile layer from the hosted feature layer, because it is necessary to keep the two layers in sync.

Hope this helps! Feel free to reply to this thread with any additional questions.

- Koen

 

0 Kudos
Koen
by Esri Contributor
Esri Contributor

Additional section in that article

  • Hosted feature layer views inherit this setting from the hosted feature layer from which they are created and cannot be configured independently. To enable or disable editor tracking for a hosted feature layer view, change the editor tracking setting on the hosted feature layer from which the view was created.
0 Kudos
ChristopherCounsell
MVP Regular Contributor

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.

0 Kudos
ChristopherCounsell
MVP Regular Contributor

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.

1000012955.jpg

0 Kudos