Access Toggle Button State in Workflow
Non planifiéeI think it would be useful if the workflows had access (get/set) to GXW application elements and their states. A use case I had in mind would be for a toggling whether the user wanted a layer to refresh automatically. If the user could set a toggle button to on or off - I could use a workflow the drive behavior based on that choice.
We have dedicated similar behavior with the layer list - where I can check if the layer is visible or set it to be visible
You could also write these "user preferences" back to a portal json object for user settings so the app would remember.
-
This is a really good idea! Upvoted.
0 -
I found an activity that will certainly take me most of the way. getter and setter for application data that persists across workflows. what a gem of a capability.
1 -
Jake Brown, sorry I missed this for so long (if I understand you correctly). I've been binding to VSW elements like so:
- Run Operation "viewer.get-current-layout"
- Bind to the element with the layout's .selectById() function, I often do this by putting the element into a Create Value activity with an input such as "=$getLayout.result.selectById('results-list-guid1234')"
Now you have the element in your workflow and you can look at all its properties (and modify them).
To be clear, this is for VertiGIS Studio, not GeoCortex Essentials.
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
3 commentaires