Skip to main content

Reference a MapServer and not a Referenced WebMap

Comments

1 comment

  • Permanently deleted user
    For our workflows, we use the GetMapServiceInfo activity to get at our layers. 

     

    In there, the Map Service ID is just a number as a string. So if I was trying to get at the ParcelMap service, I would put "0" in that field.

     

    Then for the Layer Name, I would put "Parcel".

     

    Then it would output your Map Service Url and Layer ID which you can use to create the url that you use to get at your features in Query Tasks, etc.  (MapServiceUrl + "/" + LayerID)

     

    Hopefully that helps, otherwise I would suggest posting your workflow so people can see where the problems may be.
    0

Please sign in to leave a comment.