<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Open link in new window. Web App Builder GP Widget.  in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/open-link-in-new-window-web-app-builder-gp-widget/m-p/64926#M1840</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;example:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN&gt;&amp;lt;p&amp;gt;&amp;lt;a target="_blank" rel="noopener noreferrer" href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fredirect.com" rel="nofollow" target="_blank"&gt;https://redirect.com&lt;/A&gt;&lt;SPAN&gt;"&amp;gt; Load into database &amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The python creates this OK and the hyperlink works but the&amp;nbsp;&lt;SPAN style="color: #ff0000;"&gt;&lt;SPAN style="color: #0000ff;"&gt;target="_blank" rel="noopener noreferrer"&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;p&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;art of the string is ignored so it opens in the same window. I want it&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;to always open in a new window. I confirmed this by using the "inspect" in my browser.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Is the WAB doing something to remove this functionality in the hyperlink? Do I need to dive into the javascript files in the &lt;STRONG&gt;widgets\Geoprocessing &lt;/STRONG&gt;folder?? If so, where!?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Jun 2018 20:28:45 GMT</pubDate>
    <dc:creator>deleted-user-uXtLD1BYscf0</dc:creator>
    <dc:date>2018-06-04T20:28:45Z</dc:date>
    <item>
      <title>Open link in new window. Web App Builder GP Widget.</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/open-link-in-new-window-web-app-builder-gp-widget/m-p/64926#M1840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;example:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN&gt;&amp;lt;p&amp;gt;&amp;lt;a target="_blank" rel="noopener noreferrer" href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fredirect.com" rel="nofollow" target="_blank"&gt;https://redirect.com&lt;/A&gt;&lt;SPAN&gt;"&amp;gt; Load into database &amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The python creates this OK and the hyperlink works but the&amp;nbsp;&lt;SPAN style="color: #ff0000;"&gt;&lt;SPAN style="color: #0000ff;"&gt;target="_blank" rel="noopener noreferrer"&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;p&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;art of the string is ignored so it opens in the same window. I want it&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;to always open in a new window. I confirmed this by using the "inspect" in my browser.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Is the WAB doing something to remove this functionality in the hyperlink? Do I need to dive into the javascript files in the &lt;STRONG&gt;widgets\Geoprocessing &lt;/STRONG&gt;folder?? If so, where!?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2018 20:28:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/open-link-in-new-window-web-app-builder-gp-widget/m-p/64926#M1840</guid>
      <dc:creator>deleted-user-uXtLD1BYscf0</dc:creator>
      <dc:date>2018-06-04T20:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Open link in new window. Web App Builder GP Widget.</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/open-link-in-new-window-web-app-builder-gp-widget/m-p/64927#M1841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Yes the GP widget sanitizes the text using utils.sanitizeHTML(val); Which uses&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="https://code.google.com/p/google-caja/wiki/JsHtmlSanitizer" title="https://code.google.com/p/google-caja/wiki/JsHtmlSanitizer"&gt;https://code.google.com/p/google-caja/wiki/JsHtmlSanitizer&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can find this in the resultRendererManager.js&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2018 13:57:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/open-link-in-new-window-web-app-builder-gp-widget/m-p/64927#M1841</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-06-05T13:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Open link in new window. Web App Builder GP Widget.</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/open-link-in-new-window-web-app-builder-gp-widget/m-p/64928#M1842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am also struggling with this problem. What would need to be changed in the resultRendererManager.js in order to fix this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2019 14:16:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/open-link-in-new-window-web-app-builder-gp-widget/m-p/64928#M1842</guid>
      <dc:creator>BilalSari1</dc:creator>
      <dc:date>2019-07-19T14:16:40Z</dc:date>
    </item>
  </channel>
</rss>

