Utilizing Global Search from within a workflow
I see it's possible to utilize Global Search from within a workflow (using the Run External Command task, with the command name "GlobalSearch". Is it possible to limit what layers/attributes it searches on? Let's say I have a single search string, but want to search 2 layers in different map services - in layer A, I want to search on one attribute. In layer B I want to search on 2 attributes. I don't want to include results from other layers, even if there is a match. Is this possible using the GlobalSearch or the SearchAttributes command from within Workflow? I'm sure it can be done programmatically, but just don't have the knowledge/skills to cross that gulf...
Thanks
Chris
P.S. The reason I'd like to use Global Search is that it puts all the matches in the results window in 1 list, and it displays domain values, not just domain codes (otherwise I could use Query Tasks)
-
I have the same request. Global search in workflow is very powerfull, it would be more powerfull to have control over the layers/attributes within the workflow and the order off the tabs in the output (seems random). I have tried "ToggleServiceVisibility" (external command), because Global Search only searches in visible layers. But that does not seems to work in HTML5. 0 -
FYI: There is a gvh viewer command for this called GlobalSearch which takes a text parameter to execute the search. Check the viewer commands list for more https://docs.geocortex.com/essentials/gvh/2.10/commands-help/#/commands/Search/GlobalSearch 0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare