Can I open an URL based within my WF5 within WAB
I have generated a URL based on the attributes of a selected feature and want to automatically open the URL in a new tab. Is this possible? I don't see a workflow widget for this. I am working in WAB dev edition. Thanks
Darryl
-
Hi Darryl,
This can be done through a Text Box element using Markdown. For example, to display the result of the Run Report activity in a Display Form, we can use the following in the description:
=`[Click to download your report.](${$runReport1.href})`
Thanks, Stefan
0 -
Thanks Stefan,
2 follow up questions:
- If I have created a URL variable i.e. $myhyperlink would my syntax value be: ='[CLICK HERE]($myhyperlink.result)' this doesn't seem to work for me.
- The above would require the user to click again - as opposed to just opening the url with the intial click on the feature? Is there anyway to streamline this to avoid the 2nd click?
Thanks
0 -
I figured out the syntax - but still wondering if there is a way to automatically open the URL instead of having the user click on it.
Syntax is:
='[CLICK HERE](' + $myhyperlink.result + ')'
0 -
Not that I'm aware of, but you could add this to the list of Ideas for Workflow.
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
4 kommentarer