<?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: Dynamically add image content to the popuptemplate of feature layer  in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-add-image-content-to-the-popuptemplate/m-p/692973#M64406</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shakyasingh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;After clicking on the layer ,I am getting the objectid , through the objectid I want to get the images dynamically stored in&amp;nbsp; folders&amp;nbsp;having named&amp;nbsp;with the&amp;nbsp; "id" .&amp;nbsp;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Querying a folders contents is not something you can do in client side JS. You would have to have a field in the features attributes that lists the file names or create some web service that returns a list of file name strings.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 10 Aug 2019 12:11:44 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2019-08-10T12:11:44Z</dc:date>
    <item>
      <title>Dynamically add image content to the popuptemplate of feature layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-add-image-content-to-the-popuptemplate/m-p/692972#M64405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;popupTemplate: {&lt;BR /&gt; title: "testImage",&lt;/P&gt;&lt;P&gt;content:[ &lt;BR /&gt;{&lt;BR /&gt; type: "media", &lt;BR /&gt; mediaInfos: [&lt;BR /&gt; &lt;EM&gt;&lt;STRONG&gt;{&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt; title: "&amp;lt;b&amp;gt;Test&amp;lt;/b&amp;gt;",&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt; type: "image",&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt; caption: "test1",&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt; value: {&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt; sourceURL:"images/image1.JPG"&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt; }&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt; } ,&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt; {&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt; title: "&amp;lt;b&amp;gt;Test&amp;lt;/b&amp;gt;",&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt; caption: "test2",&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt; value: {&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt; sourceURL:"images/image1.JPG"&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt; }&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt; }&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt; ]&lt;BR /&gt; }]&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After clicking on the layer ,I am geting the objectid , through the objectid I want to get the images dynamically stored in&amp;nbsp; folders&amp;nbsp;having named&amp;nbsp;with the&amp;nbsp; "id" .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I get the images per each id dynamically&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2019 10:07:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-add-image-content-to-the-popuptemplate/m-p/692972#M64405</guid>
      <dc:creator>ShakyasinghMohapatra</dc:creator>
      <dc:date>2019-08-07T10:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically add image content to the popuptemplate of feature layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-add-image-content-to-the-popuptemplate/m-p/692973#M64406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shakyasingh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;After clicking on the layer ,I am getting the objectid , through the objectid I want to get the images dynamically stored in&amp;nbsp; folders&amp;nbsp;having named&amp;nbsp;with the&amp;nbsp; "id" .&amp;nbsp;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Querying a folders contents is not something you can do in client side JS. You would have to have a field in the features attributes that lists the file names or create some web service that returns a list of file name strings.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Aug 2019 12:11:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamically-add-image-content-to-the-popuptemplate/m-p/692973#M64406</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-08-10T12:11:44Z</dc:date>
    </item>
  </channel>
</rss>

