Get map selection in Experience Builder Workflow
How can I get the elements that are selected in the Experience Builder map so that they can be used in a workflow?
We have the “Clear Selection” and “Select Feature” activities available specifically for Experience Builder, and it would be very useful to also have a “Get Selected Features” activity.
By defining a message action in the Experience Builder map to execute a workflow whenever there is a selection change on the map, we can use the ‘Get Workflow Inputs’ activity to read the records of the features selected on the map. However, Experience triggers the opening of a workflow for each selectable layer on the map, creating multiple simultaneous requests to open workflows, which does not function well (some of these workflows fail to open, thus not being accurate in the results).
Any suggestions or alternatives for obtaining map selection in Experience Builder using the VertiGIS Workflow widget?
Thanks,
Gonçalo
-
Hi, I'm also struggling with that right now. The idea is to present only the layers from the map that have selected elements as items in a drop down list in Experience Builder.
So, I tried setting the data source of the workflow widget to the map layer I need and then choose Selected Features in ExB, as described here:
https://docs.vertigisstudio.com/workflow/5.44/help/run-workflows-in-exb.htmlHowever, after doing that and then using the Get Layer and Query Layer activities in workflow with a where clause of 1=1 I am still getting all the features, not only the selected features in the map.
Another idea was to somehow get the Select widgets in workflow and see if it contains a list of layers with the selected features, but I couldn't get to get a handle of the Select widget in workflow.
Is there a way to do this?
Thanks,Jose Luis
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
1 commentaire