Can Instant Search results be input into a workflow prior to be displayed in the results pane?
Essentials: 4.5
HTML5: 2.6
We're using Instant Search to return an address (from a feature class) and we'd like to use resulting geometry as input into the identify tool (in a workflow possibly). Our users would like to have an action that combines the instant search returned results with selecting the result from the results pane, zooming to the result, right-clicking on the result, and then selecting the identify tool. Can you capture the returning result(s) from Instant Search to use them in this way?
0
-
Hi Frank,
Unfortunately, you cannot grab the results from the Instant Search before it gets displayed in the result pane.
However, you can mimic the Instant Search function in a workflow by using a display form with an autocomplete box and then using those values in a Query Task activity to find the feature. Once you have the feature, you can highlight it, zoom to it and extract the geometry from it (i.e. FeatureSet.Features.First().Geometry).
The "Identify" tool can then be activated by running it in a "Run External Command" activity (command: "Identify", command parameter: FeatureSet.Features.First().Geometry).
I hope this helps.
Regards,
Carmen0
Please sign in to leave a comment.
Comments
1 comment