Select to view content in your preferred language

Using clone_items(), it's updating the creation information and I don't want it to

606
2
2 weeks ago
SaraBellchamber1
Emerging Contributor

I'm migrating Web maps and data from an AGOL environment to our Enterprise environment using the clone_items() function. Everything works for the most part.  The trouble I'm having is that in the process of cloning it updates the data fields that reference who created/updated the record and when it was created/updated to my username and the current time/date. 

None of the documentation seems to address this topic. I'm open to ideas!

0 Kudos
2 Replies
tcrammond
Occasional Contributor

Shot in the dark - but I would do something like the following:

  1. disable editor tracking on the original feature service
  2. clone the item
  3. re-enable editor tracking for the item on the new portal

I know this sort of thing is possible one an Enterprise Geodatabase; not sure if it would work on hosted feature services...

0 Kudos
JakeSkinner
Esri Esteemed Contributor
0 Kudos