Skip to main content

Use of Get Layer Info By Property activity

Comments

5 comments

  • Ryan Cooney

    The activity cannot be used with built-in layer properties. It only applies to the custom properties that you add.

    When the Workflow help refers to the DisplayName property it is decribing the properties of the result EssentialsLayerInfo object.

    The intent of this activity is to provide an alternative way to find layers. Normally you would need to know the Map Service ID and Layer Name/ID to find a layer. This activity allows you to decorate the layer with a simple arbitrary property of your chosing and then the workflow can find it by that property alone.

    --Ryan

    0
  • Nico Burgerhart

    Thank you.

    Do you know if there is a way to get a list of the layers in a site in a workflow, without using a custom module?

    0
  • Ryan Cooney

    No, unfortunately there isn't.

    --Ryan

    0
  • Permanently deleted user
    Is there a way to see the structure of the EssentialsLayerInfo object returned by the get layer info by property task? I'm trying to get the URL of the map service the layer belongs to.

     

     
    0
  • Lauren MacLean
    I've used 'Get Layer Info By Property' to obtain the mapservice ID and url. There's quite a few properties available with this function but you mayrun into difficulties if the layer name is not unique. I have a workflow that populates a table with the Display name, layer name, MapServiceID, layerID and MapServiceURL

     

     
    0

Please sign in to leave a comment.