<?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: FeatureLayerCollection issues in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollection-issues/m-p/1352809#M9322</link>
    <description>&lt;P&gt;Thank you for the clarification Earl! That was the issue. A few things I noticed:&lt;/P&gt;&lt;P&gt;flc.manager.layers&amp;nbsp; -&amp;nbsp; Returns related table as part of the layers list.&lt;/P&gt;&lt;P&gt;flc.manager.tables&amp;nbsp; -&amp;nbsp; Does not recognize related table, returns an empty list.&lt;/P&gt;&lt;P&gt;flc.relationships&amp;nbsp; - returns an empty list. I am not familiar with the "&lt;SPAN&gt;supportsRelationshipsResource" property...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Wed, 22 Nov 2023 22:19:50 GMT</pubDate>
    <dc:creator>YS2388</dc:creator>
    <dc:date>2023-11-22T22:19:50Z</dc:date>
    <item>
      <title>FeatureLayerCollection issues</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollection-issues/m-p/1352760#M9319</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am relatively new to the python API. There is something I am not understanding about featurelayercollections (flc). In AGOL, I have a feature service with a point layer and a related table. This is feature service is an flc:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;Item title:"123" type:Feature Layer Collection owner:123&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;According to the documentation, I should have access to properties such as "relationships" or "manager". I wanted to use the flc manager to add a layer to the service but running the code:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;flc&lt;/SPAN&gt;&lt;SPAN&gt;.manager.insert_layer(&lt;/SPAN&gt;&lt;SPAN&gt;"path"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;An error: 'Item' object has no attribute 'manager'&lt;/SPAN&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;What am I missing here?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 22 Nov 2023 19:49:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollection-issues/m-p/1352760#M9319</guid>
      <dc:creator>YS2388</dc:creator>
      <dc:date>2023-11-22T19:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayerCollection issues</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollection-issues/m-p/1352799#M9321</link>
      <description>&lt;P&gt;Based on the error and other provided information, it seems you are working with a&amp;nbsp; FeatureCollection Item and not a FeatureCollection object.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try doing this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;from arcgis.features import FeatureLayerCollection
flc = FeatureLayerCollection.fromitem(flc_item)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where "flc_item" is what you are currently working with&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2023 21:31:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollection-issues/m-p/1352799#M9321</guid>
      <dc:creator>EarlMedina</dc:creator>
      <dc:date>2023-11-22T21:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayerCollection issues</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollection-issues/m-p/1352809#M9322</link>
      <description>&lt;P&gt;Thank you for the clarification Earl! That was the issue. A few things I noticed:&lt;/P&gt;&lt;P&gt;flc.manager.layers&amp;nbsp; -&amp;nbsp; Returns related table as part of the layers list.&lt;/P&gt;&lt;P&gt;flc.manager.tables&amp;nbsp; -&amp;nbsp; Does not recognize related table, returns an empty list.&lt;/P&gt;&lt;P&gt;flc.relationships&amp;nbsp; - returns an empty list. I am not familiar with the "&lt;SPAN&gt;supportsRelationshipsResource" property...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2023 22:19:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/featurelayercollection-issues/m-p/1352809#M9322</guid>
      <dc:creator>YS2388</dc:creator>
      <dc:date>2023-11-22T22:19:50Z</dc:date>
    </item>
  </channel>
</rss>

