Select to view content in your preferred language

Allow ViewManager List() Method to Return All Layers, Rather Than Just First 100

430
0
10-25-2023 11:12 AM
Status: Open
GIS_utahDEM
Occasional Contributor II

I have a project where I have created over 300 view layers (using the API for python) from a single hosted feature layer corresponding to each jurisdiction in my state. I am working on cataloging and documenting all these layers and their associated URLs/IDs for redundancy within my organization. To do this, I have used the python API to export all associated view layers using the ViewManager .list() method. However, this appears to only return the first 100 view layers. I asked about this in the community, but it seems there aren't any configurations for this method to override that limit within this method or within python. 

My idea is to either remove the page-based restriction to the list() method, or to add a parameter that allows the user to set the number of returned values.