Updating feature service (ArcGIS)

163
0
11-19-2019 04:24 AM
KalumHorrocks
New Contributor

In Python I would like to create a script that runs every x hours, and publishes an updated csv file into ArcGIS Online. 
Currently I have the following code: 

import arcgis
from arcgis.gis import GIS
gis = GIS()

gis.content.get('ID').update(item_properties=None, data='data/data.csv')   

This updates the csv but the data on the map doesn't change. The map data stays the same as the old csv it was created with. Any ideas on how to resolve this?

Tags (1)
0 Kudos
0 Replies