<?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 Re: additional link beside Zoomto link in popup in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/additional-link-beside-zoomto-link-in-popup/m-p/275440#M7333</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for the reference;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is working for me by adding the following code to the&amp;nbsp;PopupManager.js&amp;nbsp; &amp;nbsp;line 91 onwords:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var link = html.create("a", {&lt;BR /&gt; "class": "action",&lt;BR /&gt; "id": "submitBidLink",&lt;BR /&gt; "innerHTML": "Submit Bid", //text that appears in the popup for the link&lt;BR /&gt; "href": "javascript: void(0);"&lt;BR /&gt; }, query(".actionList", this.popupUnion.bigScreen.domNode)[0]);&lt;/P&gt;&lt;P&gt;//when the link is clicked register a function that will run&lt;BR /&gt; on(link, "click", lang.hitch(this, this.redirectFunc));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//the redirection function&lt;/P&gt;&lt;P&gt;redirectFunc: function () {&lt;BR /&gt; var feature = this.mapManager.map.infoWindow.getSelectedFeature();&lt;BR /&gt; var fs = feature.attributes.ProjectNo;&lt;BR /&gt; var xCoord = feature.attributes.Latitude;&lt;BR /&gt; var yCoord = feature.attributes.Longitude;&lt;BR /&gt;&lt;SPAN&gt; window.location.href = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2F----------------------%2Findex.html%3Fid%3D" rel="nofollow" target="_blank"&gt;http://----------------------/index.html?id=&lt;/A&gt;&lt;SPAN&gt;" + fs+"&amp;amp;x="+xCoord+"&amp;amp;y="+yCoord;},&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 19 Nov 2017 12:10:26 GMT</pubDate>
    <dc:creator>MuhammadFayaz</dc:creator>
    <dc:date>2017-11-19T12:10:26Z</dc:date>
    <item>
      <title>additional link beside Zoomto link in popup</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/additional-link-beside-zoomto-link-in-popup/m-p/275438#M7331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can i add additional link to popup window in WebAppBuilder application beside "Zoom To" link?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/383207_Untitled.png" style="width: 620px; height: 276px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2017 11:00:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/additional-link-beside-zoomto-link-in-popup/m-p/275438#M7331</guid>
      <dc:creator>MuhammadFayaz</dc:creator>
      <dc:date>2017-11-10T11:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: additional link beside Zoomto link in popup</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/additional-link-beside-zoomto-link-in-popup/m-p/275439#M7332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a link where I have answered this question already:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/204319-adding-a-link-to-a-popup-and-getting-a-value-from-the-selected-feature"&gt;https://community.esri.com/thread/204319-adding-a-link-to-a-popup-and-getting-a-value-from-the-selected-feature&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2017 14:28:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/additional-link-beside-zoomto-link-in-popup/m-p/275439#M7332</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-11-10T14:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: additional link beside Zoomto link in popup</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/additional-link-beside-zoomto-link-in-popup/m-p/275440#M7333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for the reference;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is working for me by adding the following code to the&amp;nbsp;PopupManager.js&amp;nbsp; &amp;nbsp;line 91 onwords:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var link = html.create("a", {&lt;BR /&gt; "class": "action",&lt;BR /&gt; "id": "submitBidLink",&lt;BR /&gt; "innerHTML": "Submit Bid", //text that appears in the popup for the link&lt;BR /&gt; "href": "javascript: void(0);"&lt;BR /&gt; }, query(".actionList", this.popupUnion.bigScreen.domNode)[0]);&lt;/P&gt;&lt;P&gt;//when the link is clicked register a function that will run&lt;BR /&gt; on(link, "click", lang.hitch(this, this.redirectFunc));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//the redirection function&lt;/P&gt;&lt;P&gt;redirectFunc: function () {&lt;BR /&gt; var feature = this.mapManager.map.infoWindow.getSelectedFeature();&lt;BR /&gt; var fs = feature.attributes.ProjectNo;&lt;BR /&gt; var xCoord = feature.attributes.Latitude;&lt;BR /&gt; var yCoord = feature.attributes.Longitude;&lt;BR /&gt;&lt;SPAN&gt; window.location.href = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2F----------------------%2Findex.html%3Fid%3D" rel="nofollow" target="_blank"&gt;http://----------------------/index.html?id=&lt;/A&gt;&lt;SPAN&gt;" + fs+"&amp;amp;x="+xCoord+"&amp;amp;y="+yCoord;},&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Nov 2017 12:10:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/additional-link-beside-zoomto-link-in-popup/m-p/275440#M7333</guid>
      <dc:creator>MuhammadFayaz</dc:creator>
      <dc:date>2017-11-19T12:10:26Z</dc:date>
    </item>
  </channel>
</rss>

