Toggle Layer Via Custom URL in Collector

353
4
12-20-2018 02:53 PM
joerodmey
MVP Alum

Want the user to click a link that brings them to collector, opens a particular map, and only turns on particular layers in that map based on conditions in the URL.

Can such aa workflow be accomplished?

Thanks

0 Kudos
4 Replies
Kylie
by Esri Regular Contributor
Esri Regular Contributor

Hi Joe - At this time, the URL you can use to launch Collector honors the layer visibility as it was authored with the map. You can see the parameters that Collector honors when opening maps from a URL here: Deploy your map—Collector for ArcGIS | ArcGIS 

Esri Education Team
0 Kudos
Kylie
by Esri Regular Contributor
Esri Regular Contributor

If this is a workflow that your users need, please post in an Idea about it, and include details of how you would make use of this functionality.

ArcGIS Ideas 

Esri Education Team
0 Kudos
joerodmey
MVP Alum

Is there a way to pass in a layer ID to turn on that particular layer? Or the ability to add particular layer to a map?

0 Kudos
Kylie
by Esri Regular Contributor
Esri Regular Contributor

No, there isn't. Please see my comment above:

>> At this time, the URL you can use to launch Collector honors the layer visibility as it was authored with the map. You can see the parameters that Collector honors when opening maps from a URL here: Deploy your map—Collector for ArcGIS | ArcGIS 

Esri Education Team
0 Kudos