I have a custom geoprocessing widget that does some spatial queries, and currently returns a string in the output tab using SetParameter in the output tab of the widget. Cool. But...the string is a URL what's the best way to display this as a clickable hyperlink? I am using the WebAppbuilder 2.4.
My python is good but my javascript is beginner. I have managed to use the Web App Builder for everything so haven't dived into the JS (yet).
Solved! Go to Solution.
Peter,
Could you put the appropriate html tags around the string in order to make it clickable?
So you would add:
<a href="https://www.YOURURL.com">TEXT of URL</a>
Or some combination of the above.
Peter,
Could you put the appropriate html tags around the string in order to make it clickable?
So you would add:
<a href="https://www.YOURURL.com">TEXT of URL</a>
Or some combination of the above.
I am a muppet. This actually is all I need to do. I swear I tried this. Thanks.
Haha, I'm glad it was simple!
no problem.