<?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: Feature Widget discriminates between feature layers in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-widget-discriminates-between-feature/m-p/325459#M29988</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you this is it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to make sure, the original example didn't have a template in the code, does that mean that the service comes with a built in template? or am I missing something.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 May 2019 17:16:41 GMT</pubDate>
    <dc:creator>deleted-user-wcpelUUf_XXx</dc:creator>
    <dc:date>2019-05-31T17:16:41Z</dc:date>
    <item>
      <title>Feature Widget discriminates between feature layers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-widget-discriminates-between-feature/m-p/325457#M29986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;wokring off of the Feature Widget sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was trying to do the same thing with a diffrent layer, Polygon or otherwise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the code dosent work when any other layer is used and I am not sure what is the diffreance between them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code with a diffrent layer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/segev-salman/pen/JqmrWw?editors=1000"&gt;https://codepen.io/segev-salman/pen/JqmrWw?editors=1000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code with original layer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/segev-salman/pen/GawqoN?&amp;amp;editable=true&amp;amp;editors=100"&gt;https://codepen.io/segev-salman/pen/GawqoN?&amp;amp;editable=true&amp;amp;editors=100&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The widget responds to the mouse movement and hit test but the popup template doesn't update&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;am not sure where to add the template and why the original code doesn't require one. does it come with the layer itself?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2019 09:29:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-widget-discriminates-between-feature/m-p/325457#M29986</guid>
      <dc:creator>deleted-user-wcpelUUf_XXx</dc:creator>
      <dc:date>2019-05-30T09:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Widget discriminates between feature layers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-widget-discriminates-between-feature/m-p/325458#M29987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It isn't working because your different layer doesn't have it's popupTemplate defined. Here is an example log of a graphic produced from the hit test:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="267" src="https://community.esri.com/legacyfs/online/448908_pastedImage_1.png" width="332" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notice how the popupTemplate property is null?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It needs to be defined to show up in the feature widget.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out this jsbin.&amp;nbsp; I have modified your original example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://jsbin.com/nijarebega/edit?html,output"&gt;https://jsbin.com/nijarebega/edit?html,output&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2019 22:16:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-widget-discriminates-between-feature/m-p/325458#M29987</guid>
      <dc:creator>JackFairfield</dc:creator>
      <dc:date>2019-05-30T22:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Widget discriminates between feature layers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-widget-discriminates-between-feature/m-p/325459#M29988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you this is it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to make sure, the original example didn't have a template in the code, does that mean that the service comes with a built in template? or am I missing something.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2019 17:16:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-widget-discriminates-between-feature/m-p/325459#M29988</guid>
      <dc:creator>deleted-user-wcpelUUf_XXx</dc:creator>
      <dc:date>2019-05-31T17:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Widget discriminates between feature layers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-widget-discriminates-between-feature/m-p/325460#M29989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep.&amp;nbsp; The service is published with the popup template in the renderer already.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See this link:&lt;/P&gt;&lt;P&gt;&lt;A href="https://services.arcgis.com/P3ePLMYs2RVChkJx/ArcGIS/rest/services/ACS_Poverty_by_Age_Boundaries/FeatureServer/1"&gt;https://services.arcgis.com/P3ePLMYs2RVChkJx/ArcGIS/rest/services/ACS_Poverty_by_Age_Boundaries/FeatureServer/1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notice this text:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;HTML Popup Type:&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;esriServerHTMLPopupTypeAsHTMLText&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;This means that the popup was configured on the server when the service was published. The other layer doen't have that setup:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;&lt;STRONG&gt;HTML Popup Type:&lt;/STRONG&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;esriServerHTMLPopupTypeNone&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;&lt;SPAN&gt;Here is the rest feature service documentation on HTML server popups:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14.4px;"&gt;&lt;SPAN&gt;&lt;A href="https://developers.arcgis.com/rest/services-reference/html-popup-feature-service-.htm"&gt;https://developers.arcgis.com/rest/services-reference/html-popup-feature-service-.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2019 18:21:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-widget-discriminates-between-feature/m-p/325460#M29989</guid>
      <dc:creator>JackFairfield</dc:creator>
      <dc:date>2019-05-31T18:21:04Z</dc:date>
    </item>
  </channel>
</rss>

