Skip to main content

Remove layers that have been added via the Add Layers tool/component

Comments

4 comments

  • Matthew Poirier

    Hi Gareth,

    What do you have configured in the Layer Actions menu for the Layer List component? Here's an example screenshot from a Web GIS Default VSW app with a layer I added from my Portal:

    1
  • Gareth Finney

    Well that was easy!  Thank for the tip @... - much appreciated

    1
  • Aaron Thorn

    Hi, is there a way to control a layer’s delete and reorder behavior through a workflow? I have a workflow that allow the user to dynamically adds a layer from either a WMS service or MapService, but I haven’t been able to find a way to  allow the web user the ability to delete or reordering that layer. Any help appreciated. Thanks

    0
  • Felix J.

    Hey Aaron
    do you use the ‘Add Layer to map’ activity from the ArcGIS Maps SDK in your workflow to add the layer to the map?

    In my experience, layers added using this activity are not treated as dynamic layers in VGS Web.

    My solution was calling the VGS Web API within the workflow instead, using the ‘Run Command’ activity and executing the ‘map.add-layers’ command.

    0

Please sign in to leave a comment.