I'm using the geoprocessing widget for WAB to create a report in html. This html document is saved on the ArcGIS server. I would like the html document to automatically open as the completion to the geoprocressing widgets task. Does anyone have an idea on how to accomplish this?
I have tried the following two solutions with no luck...
f = codecs.open(url, 'r')
print f.read()
&
webbrowser.open(url, new=2)
The webbrowser.open solution works great when running the tool from ArcCatalog but not from the GP tool.
Thanks.
I've found the following to be an adequate solution...
https://community.esri.com/thread/176433
Basically, this thread shows you how to output a link in the 'output' window for the user to click on.