How do you get the layer ID to use in the Get Layer Workflow 5 activity?
I'm trying to get layer information using the Get Layer activity. I've tried using the layer name that are used in both the feature service and in the web map, and I've tried using the layer ID number from the web map. Neither work to access the layer information. The layer is published in ArcPro to a feature service and then included in the web map. I made sure that the Allow assignment of unique numeric IDs for sharing web layers is checked for the map. Can anyone point me in the correct direction?
Thanks,
Frank
-
The layer ID should work. For instance, for the default webmap used in the sandbox, *Victoria_Buildings_4805* will return a layer.
To check the ID's you could throw in a Get Map activity, and then inspect it's output in the browsers console of the sandbox page (add ?debug=true to the URL; click on settings to load your own webmap). Expand outputs ? map ? map ? _layers
0 -
Hi @Berend Veldkamp? ,
Thanks. That worked. I was able to get the layer suing your suggestion. Thanks for the tip!
Regards,
Frank
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
2 kommentarer