AnsweredAssumed Answered

How to script individual layer settings in each Portal widget?

Question asked by jlhgis on Mar 18, 2019
Latest reply on Apr 12, 2019 by dlaw-esristaff

In Developer edition WebApp Builder / Portal for ArcGIS Enterprise, is it possible to script individual settings for each map layer in all your widgets (display, query, editing, etc), and if so, can someone point out a nice, clear (well commented) example that shows how to do this? 

 

We have a dozen or so Portal web apps that are identical (or should be), except for the city they cover. However, with the manual approach to tweaking widget settings, it has proven difficult to keep everything in sync across all the cities, with multiple staff making edits over time.

 

We'd like to be able to develop a set of scripts (python ideally) that we can run against all the portal apps periodically to make sure all settings for all layers remain consistent.  We've looked at  the various API documentation but it just isn't clear to us yet whether this level of granularity is supported. 

 

TIA for any assistance anyone can provide in this matter!

Outcomes