Rebuild/ Manage Cache on Arcgis portal scene layer

162
1
09-23-2021 07:10 AM
Labels (2)
AndreasLorentzen
New Contributor III

We are updating several scene layers on our portal with python scripts, and at the moment we need to manually go to the web-page to rebuild the Cache each time our scripts are done running.

Is there any methods in either pure ArcGIS API (with Requests etc.) or with the arcgis package for python to do this?

0 Kudos
1 Reply
Andrew--Johnson
Esri Contributor

Hi,

As of right now the only way to automate this is to create a scheduled task. Support for scene services was added at ArcGIS Enterprise 10.9 release. As of right now this is not supported in ArcGIS Online but I will double check with the team to see when that will be implemented.

https://developers.arcgis.com/rest/users-groups-and-items/create-new-scheduled-task.htm 

 

thanks,

Andrew