Scripts to Overwrite Hosted Feature Layer

1295
4
10-09-2018 10:35 AM
Highlighted
Occasional Contributor

I have published csv file as hosted feature layer on ArcGIS Portal 10.5.1. The layer is shown normally on the map. Then I update the layer by the overwrite function in the layer. But I want to automate the overwrite process. How can I make scripts to do so?

Reply
0 Kudos
4 Replies
Highlighted
Occasional Contributor III

This blog post from 2017 outlines the steps you'll need to follow. I see that you can also use it to update data in a local Portal too.

Updating your hosted feature services with ArcGIS Pro and the ArcGIS API for Python 

Hope this is helpful.

Reply
0 Kudos
Highlighted
Occasional Contributor

Thanks for your help. The script is for my client to update the layer but he does not have any ArcMap or ArcGIS Pro. Is it possible to use ArcGIS APIs only to write the script?

Reply
0 Kudos
Highlighted
Occasional Contributor II

You can do it stand alone with Python Api for ArcGIS Pro. It works fine for me!

See this link overwriting_feature_layers | ArcGIS for Developers 

Cheers Karsten

Reply
0 Kudos
Highlighted
Occasional Contributor

Thanks for your reply. The script is for my client use. He does not have any ArcMap or ArcGIS Pro, so the script can only rely on ArcGIS APIs. Is it possible to do so?

Reply
0 Kudos