<?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 Layer.fromPortalItem adds hosted feature layer to map but popups are not working in ArcGIS Enterprise Portal Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/layer-fromportalitem-adds-hosted-feature-layer-to/m-p/1147918#M12038</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have the following Enterprise setup:&lt;/P&gt;&lt;P&gt;- ArcGIS Server 10.7.1 federated to Portal&lt;/P&gt;&lt;P&gt;- ArcGIS Portal 10.7.1&lt;/P&gt;&lt;P&gt;- a Hosted feature layer created from an uploaded Shapefile, working perfectly on my ArcGIS Portal&lt;/P&gt;&lt;P&gt;I have started from the sample at&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=layers-portal" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=layers-portal&lt;/A&gt;&amp;nbsp;to test Layer.fromPortalItem.&lt;/P&gt;&lt;P&gt;I now have a test page with a map that displays both the layers from the sample and my hosted feature layer correctly.&lt;/P&gt;&lt;P&gt;The only thing that is not working as expected in my map are the popups: nothing happens when I click on the geometries of the Hosted feature layer, while for the layers from the sample this is working correctly.&lt;/P&gt;&lt;P&gt;Since the PortalItem is a Hosted feature layer, its source is a Feature Service, which is no different from the source&amp;nbsp;&lt;A href="https://www.arcgis.com/home/item.html?id=8444e275037549c1acab02d2626daaee" target="_blank" rel="noopener"&gt;https://www.arcgis.com/home/item.html?id=8444e275037549c1acab02d2626daaee&lt;/A&gt;&amp;nbsp;that is used in the sample.&lt;/P&gt;&lt;P&gt;Has anyone run into this situation?&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;</description>
    <pubDate>Fri, 25 Feb 2022 10:40:43 GMT</pubDate>
    <dc:creator>janjermei</dc:creator>
    <dc:date>2022-02-25T10:40:43Z</dc:date>
    <item>
      <title>Layer.fromPortalItem adds hosted feature layer to map but popups are not working</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/layer-fromportalitem-adds-hosted-feature-layer-to/m-p/1147918#M12038</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have the following Enterprise setup:&lt;/P&gt;&lt;P&gt;- ArcGIS Server 10.7.1 federated to Portal&lt;/P&gt;&lt;P&gt;- ArcGIS Portal 10.7.1&lt;/P&gt;&lt;P&gt;- a Hosted feature layer created from an uploaded Shapefile, working perfectly on my ArcGIS Portal&lt;/P&gt;&lt;P&gt;I have started from the sample at&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=layers-portal" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=layers-portal&lt;/A&gt;&amp;nbsp;to test Layer.fromPortalItem.&lt;/P&gt;&lt;P&gt;I now have a test page with a map that displays both the layers from the sample and my hosted feature layer correctly.&lt;/P&gt;&lt;P&gt;The only thing that is not working as expected in my map are the popups: nothing happens when I click on the geometries of the Hosted feature layer, while for the layers from the sample this is working correctly.&lt;/P&gt;&lt;P&gt;Since the PortalItem is a Hosted feature layer, its source is a Feature Service, which is no different from the source&amp;nbsp;&lt;A href="https://www.arcgis.com/home/item.html?id=8444e275037549c1acab02d2626daaee" target="_blank" rel="noopener"&gt;https://www.arcgis.com/home/item.html?id=8444e275037549c1acab02d2626daaee&lt;/A&gt;&amp;nbsp;that is used in the sample.&lt;/P&gt;&lt;P&gt;Has anyone run into this situation?&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 10:40:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/layer-fromportalitem-adds-hosted-feature-layer-to/m-p/1147918#M12038</guid>
      <dc:creator>janjermei</dc:creator>
      <dc:date>2022-02-25T10:40:43Z</dc:date>
    </item>
  </channel>
</rss>

