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.