<?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: CustomContent with Popup in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/customcontent-with-popup/m-p/1307717#M81670</link>
    <description>&lt;P&gt;The 'content' property of the '&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#openPopup" target="_self"&gt;openPopup()&lt;/A&gt;' method doesn't list CustomContent as valid parameter type.&amp;nbsp; For your use case you can just use a function that returns the HTMLElement directly:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://codepen.io/john-grayson/pen/BaGJMvw" target="_blank" rel="noopener"&gt;https://codepen.io/john-grayson/pen/BaGJMvw&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jul 2023 18:23:23 GMT</pubDate>
    <dc:creator>JohnGrayson</dc:creator>
    <dc:date>2023-07-12T18:23:23Z</dc:date>
    <item>
      <title>CustomContent with Popup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/customcontent-with-popup/m-p/1307397#M81661</link>
      <description>&lt;P&gt;I am trying to display custom content in this sample&amp;nbsp;&lt;A href="https://codepen.io/b2810s/pen/WNYrveg" target="_blank" rel="noopener"&gt;https://codepen.io/b2810s/pen/WNYrveg&lt;/A&gt;&amp;nbsp;but it doesn't display or call the creator().&lt;/P&gt;&lt;P&gt;It looks like a bug with the API. Is there any alternative to display custom content on popup without adding graphic or feature layer?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to display popup with the routes near to the clickpoint. Routes will need be displayed with they hyperlink so, user can click on it and open the route details.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 18:34:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/customcontent-with-popup/m-p/1307397#M81661</guid>
      <dc:creator>BhavinSanghani</dc:creator>
      <dc:date>2023-07-11T18:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: CustomContent with Popup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/customcontent-with-popup/m-p/1307717#M81670</link>
      <description>&lt;P&gt;The 'content' property of the '&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#openPopup" target="_self"&gt;openPopup()&lt;/A&gt;' method doesn't list CustomContent as valid parameter type.&amp;nbsp; For your use case you can just use a function that returns the HTMLElement directly:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://codepen.io/john-grayson/pen/BaGJMvw" target="_blank" rel="noopener"&gt;https://codepen.io/john-grayson/pen/BaGJMvw&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 18:23:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/customcontent-with-popup/m-p/1307717#M81670</guid>
      <dc:creator>JohnGrayson</dc:creator>
      <dc:date>2023-07-12T18:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: CustomContent with Popup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/customcontent-with-popup/m-p/1307783#M81674</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/11373"&gt;@JohnGrayson&lt;/a&gt;&amp;nbsp;, that worked for me!&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 22:06:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/customcontent-with-popup/m-p/1307783#M81674</guid>
      <dc:creator>BhavinSanghani</dc:creator>
      <dc:date>2023-07-12T22:06:56Z</dc:date>
    </item>
  </channel>
</rss>

