Use the hyperlink "command:" syntax within a markdown textbox to run a workflow.
I created a set of markdown which I had hoped I could use the "command:" syntax with. In particularly for calling the RunWorkflowByUrlAndInputs command, but this seems to be completely mis-understood by the HTML 5 client. Is this only supported within service side rendered components such as feature descriptions, etc or should it work and I just did something wrong?
Here is an example of the markdown:
###### [Zoom To](command:RunWorkflowByUrlAndInputs?Url=https://some.argic.com/home/item.html?id=0b662052943c42d798b7be657dfa912f&myParameter=23434)
Is there a way to make this work and or any plans to?
-
As an alternative is there any way/plans to use the hash part of the url (#) to run commands as well within the HTML5 viewer?
0 -
Hello James,
The 'command:' syntax is intended to be used in a client application (e.g. feature description, as you mentioned). For example, on the GW5 Sample Site with GVH, the feature description is configured to use <a href="command:RunWorkflowByUrlAndInputs?url=https://latitudegeo.maps.arcgis.com/home/item.html?id=1ac6e0742f45475098d1b40010448776&inputs={$Geometry}">Highlight State</a>, which passes in the geometry from the feature and highlights it.
There is a documentation section on our GVH command support that you might find useful: https://docs.geocortex.com/essentials/gvh/2.10/admin-help/Default.htm#gvh/admin/commands.htm
I'm not aware of any current plans for the URL syntax that you mentioned.
Thanks, Stefan
0 -
Right, thats what I read in the docs, I was just hoping to be able to build a markdown string which contained different information and commands via links but the object being shown is not derived from an Arcgis feature but a custom web service all. I can achieve what I want through form buttons, it is just a lot more work than this approach would have been.
Anyway, thanks for the response. I added it as an idea.
Cheers!
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
3 kommentarer