I have a use case for uploading a map for field users to see, and then continually updating that map, while retaining the information field users will be inputting every day. I would like to be able to essentially add the hosted version of the map through the portal into modelbuilder so that I can add new polygons daily. I can't find a command within modelbuilder that will allow me to do that. I realize I can add these new polygons to the map saved locally, and overwrite layers, but then I will lose the information that the users give on the uploaded version of the map. I can't figure out a way to download those changes from the hosted map to the local map so that the overwrite layers command would work either. If anyone can point me in the direction of how to continually update a map in AGOL with modelbuilder, I would be greatly appreciative.
Thanks,
Damon
Hi Damon,
This blog article may be of some help to you: https://www.esri.com/arcgis-blog/products/arcgis-pro/mapping/publish-and-overwrite-web-layers-in-mod...
Best,
Jonah
That's a good write up for a nice use case of python, which I could use for practice. However, I think I still have a problem.
The map I'm working on would be a collection of polygons that our users need to interact with, and using field maps, alter some attributes to document work being done. If I upload 3 polygons on Monday, and the field users go out and mark these 3 polygons as being completed, but then I have 5 new polygons to append to the same layer on Tuesday, the script will run, the 5 new polygons will be added, but the documentation of the work for the original 3 will be gone. Unless I am missing some way to preserve changes in the map?
Thanks,
Damon