<?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: How to add custom link or button in info window and get the event in arcgis web appbuilder? in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-add-custom-link-or-button-in-info-window/m-p/521609#M13651</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shaikh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following are the functions to add/remove custom link/button into the info window. Include these functions into the search widget's widget.js. and define onClick handler (&lt;SPAN style="color: #595959; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;_onCustomAction&lt;/SPAN&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;_addAction: function(){
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="kwd" style="color: #333333; font-weight: bold;"&gt;var&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; link &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; domConstruct&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;create&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="str" style="color: #dd1144;"&gt;"a"&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;,{&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="str" style="color: #dd1144;"&gt;"class"&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="color: #dd1144;"&gt;" action my-action"&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; //give it a unique class
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="str" style="color: #dd1144;"&gt;"id"&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="color: #dd1144;"&gt;"customAction"&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="str" style="color: #dd1144;"&gt;"innerHTML"&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="color: #dd1144;"&gt;"My Action"&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; &lt;/SPAN&gt;&lt;SPAN class="com" style="color: #999988;"&gt;//text that appears in the popup for the link &lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="str" style="color: #dd1144;"&gt;"href"&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="color: #dd1144;"&gt;"javascript: void(0);"&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;},&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; query&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="str" style="color: #dd1144;"&gt;".actionList"&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; this&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;map&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;infoWindow&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;domNode&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;)[&lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #009999;"&gt;0&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;]);&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;
&lt;/SPAN&gt;

&lt;SPAN class="pun" style="color: #666600;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="com" style="color: #999988;"&gt;//when the link is clicked register a function that will run &lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; on&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;link&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="color: #dd1144;"&gt;"click"&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; this._onCustomAction&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;);&lt;/SPAN&gt;&lt;/SPAN&gt;
}

_removeAction: function() {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //to remove either store "link" var into a global or get it by class using dojo/query
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; query(".my-action", this.map.infoWindow.domNode).forEach(function(elem){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; elem.destroy();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; })
}&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call this _addAction method in "_onSearchResults" method inside Search widgets's widget.js.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully this should do what you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Girish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 22:45:11 GMT</pubDate>
    <dc:creator>GirishYadav</dc:creator>
    <dc:date>2021-12-11T22:45:11Z</dc:date>
    <item>
      <title>How to add custom link or button in info window and get the event in arcgis web appbuilder?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-add-custom-link-or-button-in-info-window/m-p/521608#M13650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to add a link or button in info window like "ZoomIn" after Search done from search widget and get the button event in the widget.js of search widget in ArcGIS web AppBuilder.&lt;/P&gt;&lt;P&gt;Also i have attached the screenshot for better understanding of the requirement (highlighted in red color).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions or code??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shaikh Rizuan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2016 04:53:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-add-custom-link-or-button-in-info-window/m-p/521608#M13650</guid>
      <dc:creator>ShaikhRizuan</dc:creator>
      <dc:date>2016-08-01T04:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to add custom link or button in info window and get the event in arcgis web appbuilder?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-add-custom-link-or-button-in-info-window/m-p/521609#M13651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shaikh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following are the functions to add/remove custom link/button into the info window. Include these functions into the search widget's widget.js. and define onClick handler (&lt;SPAN style="color: #595959; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;_onCustomAction&lt;/SPAN&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;_addAction: function(){
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="kwd" style="color: #333333; font-weight: bold;"&gt;var&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; link &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; domConstruct&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;create&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="str" style="color: #dd1144;"&gt;"a"&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;,{&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="str" style="color: #dd1144;"&gt;"class"&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="color: #dd1144;"&gt;" action my-action"&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; //give it a unique class
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="str" style="color: #dd1144;"&gt;"id"&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="color: #dd1144;"&gt;"customAction"&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="str" style="color: #dd1144;"&gt;"innerHTML"&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="color: #dd1144;"&gt;"My Action"&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; &lt;/SPAN&gt;&lt;SPAN class="com" style="color: #999988;"&gt;//text that appears in the popup for the link &lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="str" style="color: #dd1144;"&gt;"href"&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="color: #dd1144;"&gt;"javascript: void(0);"&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;},&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; query&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="str" style="color: #dd1144;"&gt;".actionList"&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; this&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;map&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;infoWindow&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;domNode&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;)[&lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #009999;"&gt;0&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;]);&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;
&lt;/SPAN&gt;

&lt;SPAN class="pun" style="color: #666600;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="com" style="color: #999988;"&gt;//when the link is clicked register a function that will run &lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; on&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;link&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="color: #dd1144;"&gt;"click"&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; this._onCustomAction&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;);&lt;/SPAN&gt;&lt;/SPAN&gt;
}

_removeAction: function() {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //to remove either store "link" var into a global or get it by class using dojo/query
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; query(".my-action", this.map.infoWindow.domNode).forEach(function(elem){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; elem.destroy();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; })
}&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call this _addAction method in "_onSearchResults" method inside Search widgets's widget.js.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully this should do what you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Girish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:45:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-add-custom-link-or-button-in-info-window/m-p/521609#M13651</guid>
      <dc:creator>GirishYadav</dc:creator>
      <dc:date>2021-12-11T22:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to add custom link or button in info window and get the event in arcgis web appbuilder?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-add-custom-link-or-button-in-info-window/m-p/521610#M13652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Girish... Its working now!! &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2016 13:43:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-add-custom-link-or-button-in-info-window/m-p/521610#M13652</guid>
      <dc:creator>ShaikhRizuan</dc:creator>
      <dc:date>2016-08-01T13:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to add custom link or button in info window and get the event in arcgis web appbuilder?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-add-custom-link-or-button-in-info-window/m-p/521611#M13653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;slick, I'll have to come to this.&amp;nbsp; For now, to do links to our Tax Cards which have a unique number (primary key) in the URL I put that in as a link &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fthelink%2F" rel="nofollow" target="_blank"&gt;http://thelink/&lt;/A&gt;&lt;SPAN&gt;{PropertyNumber}&amp;nbsp; for a Picture in the bottom of the popup. I did a screenshot of the word "Tax Card" with a button as a background, put it in, works like a charm.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2016 19:58:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-add-custom-link-or-button-in-info-window/m-p/521611#M13653</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-08-04T19:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to add custom link or button in info window and get the event in arcgis web appbuilder?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-add-custom-link-or-button-in-info-window/m-p/521612#M13654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice!&lt;/P&gt;&lt;P&gt;Help Please????&lt;/P&gt;&lt;P&gt;I'm not as savoy as to how to do this. Could someone show the completed addition of the example code in the Search widget.js and if there are any other files that need to be edited? I would really like to do this too!.....&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 14:00:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-add-custom-link-or-button-in-info-window/m-p/521612#M13654</guid>
      <dc:creator>RichBell</dc:creator>
      <dc:date>2016-08-05T14:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to add custom link or button in info window and get the event in arcgis web appbuilder?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-add-custom-link-or-button-in-info-window/m-p/521613#M13655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I put the links in the popup in the Configure Popup in ArcGIS Online.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just create a picture, put it in a specific spot in WAB and put this path in for the URL to the Picture. Maybe a picture of the word "Site Plan" or something. (instead of Tax Card in our case)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then, put in a description (optional) and for the link, the first part of it like &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fyoursite.com%2Ffiles%2F" rel="nofollow" target="_blank"&gt;http://yoursite.com/files/&lt;/A&gt;&lt;SPAN&gt;{PDFfilepath}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The {PDFfilepath} in brackets would be a filename, for files in a folder full of PDF files, for example, on your server.&amp;nbsp; This would be assuming you had a field in your layer like 'filepath' that contained the filename. ThePDFfilepath therefore takes the value of whatever the layer has in that field for that record. Savvy matey? &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/grin.png" /&gt;&amp;nbsp; Just let me know if this helps shed more light on it for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 15:14:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-add-custom-link-or-button-in-info-window/m-p/521613#M13655</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-08-08T15:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to add custom link or button in info window and get the event in arcgis web appbuilder?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-add-custom-link-or-button-in-info-window/m-p/521614#M13656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, but not quite what I was looking for.&lt;/P&gt;&lt;P&gt;More specifically is where and how do I insert this snippet of code from the last post into the search Widget.js?&lt;/P&gt;&lt;P&gt;A screen shot of a working widget with this code inserted would be great.&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Picture0002.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/214657_Picture0002.jpg" style="width: 620px; height: 295px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 15:50:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-add-custom-link-or-button-in-info-window/m-p/521614#M13656</guid>
      <dc:creator>RichBell</dc:creator>
      <dc:date>2016-08-08T15:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to add custom link or button in info window and get the event in arcgis web appbuilder?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-add-custom-link-or-button-in-info-window/m-p/521615#M13657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Girish,&lt;/P&gt;&lt;P&gt;Could you explain where and how to "Call the&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt; _addAction method" ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2017 14:39:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-add-custom-link-or-button-in-info-window/m-p/521615#M13657</guid>
      <dc:creator>AdamCommeford</dc:creator>
      <dc:date>2017-01-16T14:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to add custom link or button in info window and get the event in arcgis web appbuilder?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-add-custom-link-or-button-in-info-window/m-p/521616#M13658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Call this _addAction method in "_onSearchResults" method inside Search widgets's widget.js.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 13:41:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-add-custom-link-or-button-in-info-window/m-p/521616#M13658</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-01-17T13:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to add custom link or button in info window and get the event in arcgis web appbuilder?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-add-custom-link-or-button-in-info-window/m-p/521617#M13659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&amp;nbsp;&lt;/P&gt;&lt;P&gt;is it possible to call the editor from this button that will used the selected geometry that was returned as a search result?&lt;/P&gt;&lt;P&gt;I would like the user to use the search widget to find the required address, and then add this address and its attributes to a&amp;nbsp;FS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 16:43:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-add-custom-link-or-button-in-info-window/m-p/521617#M13659</guid>
      <dc:creator>AdamCommeford</dc:creator>
      <dc:date>2017-01-17T16:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to add custom link or button in info window and get the event in arcgis web appbuilder?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-add-custom-link-or-button-in-info-window/m-p/521618#M13660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Custom actions know which feature is selected to show the popup, so yes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 16:45:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-add-custom-link-or-button-in-info-window/m-p/521618#M13660</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-01-17T16:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to add custom link or button in info window and get the event in arcgis web appbuilder?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-add-custom-link-or-button-in-info-window/m-p/521619#M13661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help Robert. I am still trying to get this to work, have not been able to successfully call the method, are there any examples I maybe able to reference? Any examples of using this process to call the attribute editor?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 18:37:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-add-custom-link-or-button-in-info-window/m-p/521619#M13661</guid>
      <dc:creator>AdamCommeford</dc:creator>
      <dc:date>2017-01-17T18:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to add custom link or button in info window and get the event in arcgis web appbuilder?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-add-custom-link-or-button-in-info-window/m-p/521620#M13662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No that I am aware of.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 19:09:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-add-custom-link-or-button-in-info-window/m-p/521620#M13662</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-01-17T19:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to add custom link or button in info window and get the event in arcgis web appbuilder?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-add-custom-link-or-button-in-info-window/m-p/521621#M13663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got this example worked. But I want the link/button to be visible for only one feature &amp;nbsp;layer&amp;nbsp;map infowindow and not to be visible for any of the other feature layers map info windows.&lt;/P&gt;&lt;P&gt;How to accomplish this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank&amp;nbsp;you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2017 18:30:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-add-custom-link-or-button-in-info-window/m-p/521621#M13663</guid>
      <dc:creator>esriuser2</dc:creator>
      <dc:date>2017-05-17T18:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to add custom link or button in info window and get the event in arcgis web appbuilder?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-add-custom-link-or-button-in-info-window/m-p/521622#M13664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Answer looks like a good solution, but if I wanted these actions to appear in the default map callout (not the search widget callout), where would I add this code? Is this code relevant for the default map callout?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2019 06:46:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-add-custom-link-or-button-in-info-window/m-p/521622#M13664</guid>
      <dc:creator>MarkTurnbull</dc:creator>
      <dc:date>2019-07-10T06:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to add custom link or button in info window and get the event in arcgis web appbuilder?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-add-custom-link-or-button-in-info-window/m-p/521623#M13665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/web-appbuilder/sample-code/create-a-feature-action-in-your-widget.htm"&gt;https://developers.arcgis.com/web-appbuilder/sample-code/create-a-feature-action-in-your-widget.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;To have an action appear in the map default popup you can add the feature action to the jimu.js\featureActions folder and add a reference to your featureAction to the main.js&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2019 12:39:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-add-custom-link-or-button-in-info-window/m-p/521623#M13665</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-07-10T12:39:10Z</dc:date>
    </item>
  </channel>
</rss>

