Creating a Web Map inventory

How many times have you had to open a Web Map in the map viewer or view its properties just to try and get an idea of the services and layers that are hydrating it? I know I've personally done that more times than I'd care to, and it can be very frustrating and time-consuming. Wouldn't it be nice if you could have an inventory in say, an Excel spreadsheet, which could be automatically created and updated for you? Fortunately, The ArcGIS API for Python makes doing something like this possible with around 30 lines of code. Let's look at how we might go about creating a small script that queries a subset of Web Maps and updates an Excel workbook with URLs of all the operational and basemap layers in the web maps. ...

Get Mastering ArcGIS Enterprise Administration now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.