Run Command - command parameter input format for highlights.add
Accidentally posted this to the wrong section of the forum and realized when I went to go add the solution. Posting here in case someone finds it useful.
Problem:
How to highlight features using the ‘Run Command’ activity in a VertiGIS Studio Web map using a ‘Query Layer’ activity output that is triggered as part of a VertiGIS Studio Workflow triggered from the ‘I want to…’ menu.
Solution:
Convert the esri graphic layer returned from the ‘Query Layer’ activity into VertiGIS Studio Features using a ‘Run Operation’ activity.
Operation Name: results.from-graphics
Operation Parameter: ={graphics:$QueryLayerActivity.features}
Use the output of this operation to run the highlight command. The inputs for the 'Run Command' activity are:
Command Name: highlights.add
Command Parameter: =$RunOperation.result
-
Thanks for sharing, Nick!
0
Please sign in to leave a comment.
Comments
1 comment