Select from Map Layer / Interact with Selection
Hello,
...working with Web AppBuilder
I've been successful Querying a layer via the Url & adding results to the map either as Graphics or a Feature Layer, but I’m trying to mimic how the Select Widget works. I notice that the ESRI Widget selects directly on the map layer (when you turn the layer off in the legend the selection graphics also turn off). Can this be done in a Workflow? I’ve successfully retrieved the layer and sublayer with the Get Layer activity and am assuming this is what the Layer input in the Query wants….?
Follow-up:
Can a workflow interact with a previous selection? Essentially, I would like an itempicker in another workflow to populate with a previous selection, either the Feature Layer that I add or the selection technique above that I’m trying. (I would modify to one technique or the other) I would like separate selection techniques to select parcels then regardless of how the selection occurred, the next workflow’s itempicker reads the selection. (I’ve accomplished this with one large workflow but am experimenting with my options)
Thanks for any help you can pass-on
-
You can use Get/Set Application Data activities to pass information between workflows.
https://docs.geocortex.com/workflow/latest/help/Default.htm#wf5/help/activities/set-application-data.htm
https://docs.geocortex.com/workflow/latest/help/Default.htm#wf5/help/activities/get-application-data.htmSee also the sample workflow in
https://gedemo.geocortex.com/Html5Viewer/index.html?viewer=GXWF_Sample_Site.GVH
Toolbar > Advanced Workflow > Get, Set, and Remove Application DataThe Set Application Data activity allows for configuring a piece of data in the application, where the Get Application Data activity can retrieve this data, and the Remove Application Data activity can delete it.
In this sample workflow, application data is set, returned, then deleted using these three activities, with Alerts displaying the state of the data.
Workflow Available Here: https://latitudegeo.maps.arcgis.com/home/item.html?id=bae89a1260c541f58d69eafe4eb3529b1 -
Thanks Nico,
I tried these activities and got them to work quite easily, thanks again.
Any ideas on the first part....being able to select directly from a layer in the webmap, not going back to the URL?...
0
Please sign in to leave a comment.
Comments
2 comments