Can I chang layer ID to string?
Currently layer id is intiger set automatically in manager.
I am wondering is it going to be an issue in the future if I set workflow which use layer ID. When the site changes with layer order, new layer, etc, this might be a problem in the future. can I assign string (or alias of layer name) as layerID?
0
-
Not to my knowledge, no.
However, if you're going to use it in a workflow, you can use the Get Map Service Info activity to dynamically get the layer ID. And you won't have to change anything unless the map service ID or layer name changes (which I recommend you store as variables so they're easier to change if they do).0
Please sign in to leave a comment.
Comments
1 comment