Skip to main content

How to reference the current site in a workflow?

Comments

1 comment

  • Permanently deleted user
    Hi Tami,

     

    Have you considered using the GetMapInfo workflow activity in combination with the GetMapServiceInfo activity? The GetMapInfo activity has an output parameter "MapServiceIds" (only visible in the "Properties" menu to the right)  which returns a list of all of the map service ids which are referenced in your site. The GetMapServiceInfo activity takes a MapServiceID as input and has a boolean output parameter for "Visible".

     

    Using this approach you can iterate through all of your MapServiceID's (using a ForEach activity) and retreive their visibility status with the GetMapServiceInfo workflow activity. By using an "If" activity inside of the ForEach you could for example construct a list of all of the MapServicesIDs where Visible  = True.

     

    Hope this helps!

     

    -Scott   
    0

Please sign in to leave a comment.