AnsweredAssumed Answered

Open link in new window. Web App Builder GP Widget.

Question asked by pmackenzie_hemmera on Jun 4, 2018
Latest reply on Jun 5, 2018 by rscheitlin

I am using the WAP Developer Edition and have a geoprocessing widget (out of the box) widget that uses python and returns a hyperlink string as an output parameter.

 

example:

<p><a target="_blank" rel="noopener noreferrer" href="https://redirect.com"> Load into database </a></p>

 

The python creates this OK and the hyperlink works but the target="_blank" rel="noopener noreferrer" part of the string is ignored so it opens in the same window. I want it to always open in a new window. I confirmed this by using the "inspect" in my browser. 

 

Is the WAB doing something to remove this functionality in the hyperlink? Do I need to dive into the javascript files in the widgets\Geoprocessing folder?? If so, where!?

 

Attachments

Outcomes