Configure workflow to launch after search
Hi. How would one configure the html5 viewer to launch a workflow after a user executes a search? In the json config files there is a results module section which includes the following:
"Search": ["AddPushpins", "ShowResultsList", "SetCollectionOfInterest"],
I would like to add a workflow to this list of commands to execute but not sure of syntax. I have tried several ideas, including "RunWorkflowByID:ZoomSearchResults" and similar, but no luck.
Thanks
-
Found out from Latitude that this is not feasible. You can connect commands to events like search, but only ones that come with a featureset collection, like the ones I listed above. So, runworkflowbyid is not an option.
Its too bad because ability to launch workflows based on events would really open up the viewer to powerful customizations, in an easy way.
0
Please sign in to leave a comment.
Comments
1 comment