<?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 Create Replica using ArcGIS API for Python Error in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/create-replica-using-arcgis-api-for-python-error/m-p/861637#M4210</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm attempting to follow the published guide for ArcGIS API for Python from ESRI.&amp;nbsp; On the part regarding creating replicas ("Checking Out Data From Feature Layers Using Replicas" section), I'm receiving an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Under the "Create A Replica" section, there is a line that attempts to create a replica.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/439330_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got everything else above this executed in Jupyter.&amp;nbsp; When I run it, I get an error stating:&amp;nbsp; &lt;STRONG&gt;'FeatureLayerCollection' object has no attribute 'replicas'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've double checked the code above this.&amp;nbsp; Yes, the line of code above this has an error ('sr' should be 'search_result').&amp;nbsp; Outside of this, am I missing something?&amp;nbsp; There is a good chance there is some fundamental flaw in the examples on this page.&amp;nbsp; I've found multiple code errors in the guide that I've reported to ESRI.&amp;nbsp; It feels that the guide itself is working AGAINST me trying to complete it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Mar 2019 19:33:51 GMT</pubDate>
    <dc:creator>DeanChauvin1</dc:creator>
    <dc:date>2019-03-13T19:33:51Z</dc:date>
    <item>
      <title>Create Replica using ArcGIS API for Python Error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/create-replica-using-arcgis-api-for-python-error/m-p/861637#M4210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm attempting to follow the published guide for ArcGIS API for Python from ESRI.&amp;nbsp; On the part regarding creating replicas ("Checking Out Data From Feature Layers Using Replicas" section), I'm receiving an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Under the "Create A Replica" section, there is a line that attempts to create a replica.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/439330_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got everything else above this executed in Jupyter.&amp;nbsp; When I run it, I get an error stating:&amp;nbsp; &lt;STRONG&gt;'FeatureLayerCollection' object has no attribute 'replicas'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've double checked the code above this.&amp;nbsp; Yes, the line of code above this has an error ('sr' should be 'search_result').&amp;nbsp; Outside of this, am I missing something?&amp;nbsp; There is a good chance there is some fundamental flaw in the examples on this page.&amp;nbsp; I've found multiple code errors in the guide that I've reported to ESRI.&amp;nbsp; It feels that the guide itself is working AGAINST me trying to complete it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2019 19:33:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/create-replica-using-arcgis-api-for-python-error/m-p/861637#M4210</guid>
      <dc:creator>DeanChauvin1</dc:creator>
      <dc:date>2019-03-13T19:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: Create Replica using ArcGIS API for Python Error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/create-replica-using-arcgis-api-for-python-error/m-p/861638#M4211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, after spending a lot of time trying to figure out what the problem was, I did, indeed, figure it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The target FLC did not have the required capabilities.&amp;nbsp; Yes, per the exercise, I added the Extract capability.&amp;nbsp; But apparently creating a replica requires other capabilities enabled as well.&amp;nbsp; The directions didn't really cover this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I logged into AGO and found the FLC.&amp;nbsp; I went to the settings for the FLC and enabled every possible editing capability I could find.&amp;nbsp; Now in Python instead of seeing just "Extract" as a capability, I now see:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/439399_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when I attempted to create the replica, it worked with no problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2019 14:24:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/create-replica-using-arcgis-api-for-python-error/m-p/861638#M4211</guid>
      <dc:creator>DeanChauvin1</dc:creator>
      <dc:date>2019-03-14T14:24:35Z</dc:date>
    </item>
  </channel>
</rss>

