Define Operational Layers In URL for Web App

07-24-2017 11:41 AM
Status: Open
New Contributor III

I have a map in a web app (ArcGIS Web Application). I have my operational layers set to load as you see.

I would like to be able to change which operational layers load in the URL so I can simply have one web app, and when I embed on my website or send links, I can have individual embeds that load just the recreation access layer or just the NPDES discharge permits or perhaps two layers: the drinking water intakes + senate districts. All off the same map.

There needs to be a way to do this in the URL for a Web App like you can in a web MAP. &layers=<ID> did not work with the Web App.

Seems like extent and a whole host of other parameters can be set in the Share --> Link Options part... just not operational layers to automatically display when the app pulls up.

Without being able to define operational layers, it means I've got to create a bunch of separate web maps/apps -- very inefficient.

Tags (1)