Aller au contenu principal

Provide Examples in VertiGIS Studio Web Commands available for Run Command Workflow Activity

Planifiée

Commentaires

9 commentaires

  • Hubert Yoo

    I've been running into a similar issue and would love to get some feedback from VertiGIS as well! Thanks!

    3
  • Gareth Finney

    I've started down this track also, and found it so difficult to find help on this. Stringing these commands and operations together in a workflow, and or client custom button is so powerful, but yeah, just so little help on this. I'm floundering - even more than normal :)

    Some dedicated help and or examples on this would be great. 

    0
  • Daan Molleman

    Completely agree Gareth.

    Just a simple example would go a long way. This is true for the entire commands and operations reference.

    0
  • Daan Molleman

    I found the solution by the way.

    The inputs to the viewer.load-layout are 

    "item://layout/" + <acutal layout id>

    To find the id, you can press ctrl + shift + e while in your vertigis studio web, and search (ctrl+f) for “layout” and find a list containing your layouts, which you will recognise by their titles. Above the title you will find the ID, which you can append to “item://layout/”

     

    Hope this helps

    0
  • Ken Lyon

    Hi everyone. The VertiGIS Studio Web team is working on this. I don't have an exact timeline but it's in progress.

    3
  • Vincent van der Wolf

    Hi everyone, 

    Is there another way to toggle uit elements on/off with a workflow?

    Greets, Vincent

    0
  • Nico Burgerhart

    I'm looking for an working example of the map.apply-layer-preset command, when running this from a workflow with the Run Command activity.

    https://developers.vertigisstudio.com/docs/web/api-commands-operations/#command-map.apply-layer-preset

     

    0
  • Jessica Dell

    Nico - Below is how I have it working. I have it working in 2 different workflows right now, 1 that has a form with a drop-down list with a list of layer presets, and 1 that sets the layer preset based on the Launch Link URL used, I'm happy to share either if that would be helpful. 
    But below is the syntax for using that activity. In the Command Parameter, you'll reference the ModelURI for the specific Layer Preset you're wanting to reference (from the gear icon for that Preset component in VSWeb). 

    Command Name: map.apply-layer-preset
    Command Parameter: ={"layerPreset":'ModelURI'} 

    For example: Command Parameter: ={"layerPreset":'item://layer-preset/bc15077b-c9b5-48b3-bc85-a4cdbd822495'}

    0
  • Nico Burgerhart

    Thanks Jessica Dell 

    I got it also working today with the help of a colleague.. 

    The issue was a syntax error, I forgot the = sign at the start of the Command Parameter value. Classical error…

    0

Vous devez vous connecter pour laisser un commentaire.