How to get selected feature on map
I saw different posts talking about this but didn't see a working way to do it in the responses. I want to run a workflow for a specific layer in the map. The workflow needs to get the active selection if any for that layer and then run a report for that active selection. How can this be achieved? I didn't see any available workflow activities that would be able to do it.
-
Hi Brandon,
Have you tried making the first activity in your WF ‘Get Input Arguments’? if you have, then the selected geometries should come into the workflow in the context property of your workflow inputs (image below). From there, we've had success converting the context object to JSON and then parsing the JSON string into workable objects in the workflow.
0 -
Hi Bryan. Thanks. I found a sample I downloaded that was provided in the thread linked below. The vertigis seems different than geocortex: https://support.vertigis.com/hc/de/community/posts/11497414046354-How-to-get-feature-attribute-from-workflow-input-in-web-viewer
0
Please sign in to leave a comment.
Comments
2 comments