How can you use the URL to trigger a workflow
Soecifically, how can I use the URL to trigger the workflow to enable a map theme? And if I want to search and zoom to a layer after that, can I also do this in the same URL?
E.G.
https://stuf/Index.html?viewer=MoreStuff.StuffViewer&runWorkflow=SearchAndZoom&layer=LayerName&attribute=FieldNameCaseSensitive&value=XYZ#
0
-
how can I use the URL to trigger the workflow to enable a map theme?
Helpful Article (https://support.geocortex.com/essentialsGSCCodeGallery?sub-nav=codegall&main-nav=essentials&#!/feedtype=SINGLE_ARTICLE_DETAIL&criteria=BESTANSWERS&id=kA460000000blldCAA) using a workflow
Another article to just use embedded layer themes (https://docs.geocortex.com/essentials/gvh/latest/admin-help/Default.htm#gvh/admin/viewer-urls.htm)
And if I want to search and zoom to a layer after that, can I also do this in the same URL?
I would use a workflow to grab the object (point, line, polygon) to zoom too and you can use the aboce ideas to turn a layer theme on at the same time.
Example:
https://subdomain.domain.com/Html5Viewer/Index.html?viewer=SANDBOX&layerTheme=0&run=AOK_Search&argState=OK
That would hit the SANDBOX viewer, then turn on layer theme 0, run a tool, and pass an argument into that tool.0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar