<?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: Switching between multiple infowindow templates in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/switching-between-multiple-infowindow-templates/m-p/85637#M7753</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Edward,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; It sounds like you need to look into using PopUpTemplate and get away from using setcontent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jsapi/popuptemplate-amd.html" title="https://developers.arcgis.com/javascript/jsapi/popuptemplate-amd.html"&gt;PopupTemplate | API Reference | ArcGIS API for JavaScript&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 07 Feb 2015 01:55:23 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2015-02-07T01:55:23Z</dc:date>
    <item>
      <title>Switching between multiple infowindow templates</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/switching-between-multiple-infowindow-templates/m-p/85636#M7752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Need to switch between multiple infowindow templates depending on which layer is clicked on.&lt;/P&gt;&lt;P&gt;SetContent seems to clear the the domNode of the content for the infoWindow so that once it's used it gets cleared.&amp;nbsp; The second time it gets nulled and the infowindow is empty content.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Feb 2015 00:55:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/switching-between-multiple-infowindow-templates/m-p/85636#M7752</guid>
      <dc:creator>EdwardSohn2</dc:creator>
      <dc:date>2015-02-07T00:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Switching between multiple infowindow templates</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/switching-between-multiple-infowindow-templates/m-p/85637#M7753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Edward,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; It sounds like you need to look into using PopUpTemplate and get away from using setcontent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jsapi/popuptemplate-amd.html" title="https://developers.arcgis.com/javascript/jsapi/popuptemplate-amd.html"&gt;PopupTemplate | API Reference | ArcGIS API for JavaScript&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Feb 2015 01:55:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/switching-between-multiple-infowindow-templates/m-p/85637#M7753</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-02-07T01:55:23Z</dc:date>
    </item>
  </channel>
</rss>

