Can workflows be called from the viewer URL? in HTML5
Is it possible to call a workflow using the viewer url?
So using the viewer url below
http://<site>/Geocortex/Essentials/REST/sites/<SiteName>/viewers/<Viewer>/virtualdirectory/Index.html
Is there parameters to add that I can load up a map that imediatly calls a workflow?
http://<site>/Geocortex/Essentials/REST/sites/<SiteName>/viewers/<Viewer>/virtualdirectory/Index.html&run=<workflowID>¶ms
I would like to be able to save the state of a map and pass that as an url to someone else so they can open the map in the exact same location
-
Hi Jason,
Yes, you can do what you describe. One minor correction to your example:
/Index.html&run=<workflowID>¶ms
should be:
/Index.html?run=<workflowID>¶ms
The rest of the parameters in the URL string will be mapped to input arguments, if possible.
Note that an "extent" URL parameter will actually zoom you to that extent, so you may wish to account for that when you name your workflow input arguments.
Hope this helps!
-Jason
0 -
Can this be done within Index.html? My sights are launched using the (https://support.geocortex.com/how-to-shorten-the-viewer-for-html5-url) shortened URL . Can I call a workflow from here?
0 -
Where exactly in Geocortex Essentials Manager do I change the viewer URL?
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
3 Kommentare