Run workflow from maptip
We have a layer with a maptip. When the maptip popups there are two links in the maptip. I have to translate it from Dutch to English but i should be something like: Add to selection list and Show feature details. We would like to have a link in the maptip that runs a workflow with a argument (objectid). I found out it's possible to make links in the maptip configuration.
<Menu Id="FeatureActions">
<Items>
<Item Text="Details opvragen" ToolTip="Vraag de details van de feature op" Command="RunWorkflow" CommandParameter="EnkeleSelectie" />
How ever these links are not visible in the maptip itself (direct). You have to open the details first. Is it possible to place this link in the maptip itself ? And if so is it possible to have it pass the ObjectId as argument?
0
-
Hi Chris,
You could add the it in Feature Long Description as hyperlink and pass whatever arguments you need to pass as shown below:
<p>{OBJECTID}</p>
<a href="command:RunWorkflowWithArguments?workflowId=myworkflowid&testingInput={OBJECTID}" style="font-size: 10pt; font-weight: bold; color: rgb(0, 51, 0);">Run My Workflow</a>
Regards,
Mohammad Ashraf0 -
Hi.
Is it possible to enable/disable the link in maptip if the feature selected has a particular value in an attribute field?
Thanks.0
Please sign in to leave a comment.
Comments
2 comments