Set refresh interval of a published layer via arcgis api for python

282
4
11-15-2021 04:31 AM
Labels (3)
AsadAliBaig
New Contributor II

I'm looking to set the refresh interval of a published layer on arcgis online using arcgis api for python but cannot find the relevant functionality in the arcgis api for python's documentation. 

Is it possible to do that using arcgis api for python? if yes, please point in the right direction.

 

 

0 Kudos
4 Replies
DominicRoberge2
Occasional Contributor II

Hello

take a look at this older post, that should solve your problem

 

https://community.esri.com/t5/arcgis-api-for-python-questions/setting-the-refresh-interval-for-a-hos...

0 Kudos
AsadAliBaig
New Contributor II

Hi Dominic,

thanks for pointing to the solution but unfortunately it does not solves my problem. I'm looking to set refresh interval of individual layers that are not referred in any map contrary to the post which refers to layers in a webmap.

0 Kudos
DominicRoberge2
Occasional Contributor II

I see

well if you don't have that many hasted feature layers, you can always set the refresh interval on the hosted Feature Layer page (under Visualization) . Click 3little dots, select refresh interval, set interval, then Save Layer. 

DominicRoberge2_0-1637158283063.png

 

0 Kudos
AsadAliBaig
New Contributor II

I have ~250 layers that's I'm looking to set it via python api

0 Kudos