<?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: ArcGIS Online and Arcpy in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcgis-online-and-arcpy/m-p/1500085#M70967</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/712076"&gt;@CodyPatterson&lt;/a&gt;&amp;nbsp;try specifying the index number in the Feature Service URL (i.e. /FeatureServer/0).&lt;/P&gt;</description>
    <pubDate>Mon, 01 Jul 2024 21:01:19 GMT</pubDate>
    <dc:creator>JakeSkinner</dc:creator>
    <dc:date>2024-07-01T21:01:19Z</dc:date>
    <item>
      <title>ArcGIS Online and Arcpy</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-online-and-arcpy/m-p/1498568#M70928</link>
      <description>&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;I was recently given the project to put together a tool that syncs our AGOL environment to our local database and vice versa. This was already created a few years back by another employee but it recent started failing. I found that it was using arcpy.ListFields(SourceLayer) and it now shows that {AGOL_URL} does not exist or is not supported.&lt;/P&gt;&lt;P&gt;I attempted many ideas to get this to continue working with ArcPy, but I've been stuck for a few hours now, and have decided to look back into ArcGIS API for Python to get this completed.&lt;/P&gt;&lt;P&gt;My idea was to bring down the FGDB into a local file, and then use that with ArcPy, but the FGDB is 100+ GB and I cannot do this often. How should I approach this?&lt;/P&gt;&lt;P&gt;Any help is appreciated, thank you!&lt;/P&gt;&lt;P&gt;Cody&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2024 19:15:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-online-and-arcpy/m-p/1498568#M70928</guid>
      <dc:creator>CodyPatterson</dc:creator>
      <dc:date>2024-06-27T19:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Online and Arcpy</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-online-and-arcpy/m-p/1498582#M70929</link>
      <description>&lt;P&gt;Code Snippet:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;feature_layer_url = "https://services9.arcgis.com/{identifier}/arcgis/rest/services/{Layer}/FeatureServer/{LayerNum}?token={token}"

for f in arcpy.ListFields(feature_layer_url):
    print(f)&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 27 Jun 2024 19:22:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-online-and-arcpy/m-p/1498582#M70929</guid>
      <dc:creator>CodyPatterson</dc:creator>
      <dc:date>2024-06-27T19:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Online and Arcpy</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-online-and-arcpy/m-p/1499816#M70946</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/712076"&gt;@CodyPatterson&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Is there a unique field and edit tracking enabled?&amp;nbsp; I would recommend creating a script that:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;queries the features that were edited in the last day using the&amp;nbsp;&lt;STRONG&gt;last_edited_date&lt;/STRONG&gt; field and&amp;nbsp;download those features using &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/conversion/export-features.htm" target="_self"&gt;Export Features&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;create a list of downloaded features using the unique field&lt;/LI&gt;&lt;LI&gt;delete these features from the local database&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/append.htm" target="_self"&gt;append&lt;/A&gt; the downloaded features to the local database&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Be sure your script uses &lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/functions/signintoportal.htm" target="_self"&gt;arcpy.SignIntoPortal&lt;/A&gt; and you can access the URL of the service without generating a token.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 13:45:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-online-and-arcpy/m-p/1499816#M70946</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2024-07-01T13:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Online and Arcpy</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-online-and-arcpy/m-p/1499823#M70948</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/10527"&gt;@JakeSkinner&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the suggestions, unfortunately the issue persists with the Export Features, it still states that it does not exist or is not supported. This is equipped with a unique field along with edit tracking so I'm not entirely sure what the main issue is.&lt;/P&gt;&lt;P&gt;Since this project is somewhat urgent, I ended up just redesigning all the ArcPy functions that were present into ArcGIS API for Python functions, and made this using custom query methods.&lt;/P&gt;&lt;P&gt;If you have any further suggestions I will surely try them, as I enjoy using ArcPy much more than ArcGIS API for Python.&lt;/P&gt;&lt;P&gt;Cody&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 13:53:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-online-and-arcpy/m-p/1499823#M70948</guid>
      <dc:creator>CodyPatterson</dc:creator>
      <dc:date>2024-07-01T13:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Online and Arcpy</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-online-and-arcpy/m-p/1499828#M70950</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/712076"&gt;@CodyPatterson&lt;/a&gt;&amp;nbsp;did you include arcpy.SignIntoPortal?&amp;nbsp; Ex:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;arcpy.SignIntoPortal('https://www.arcgis.com', 'agolAdmin', 'gis12345')

feature_layer_url = "https://services9.arcgis.com/{identifier}/arcgis/rest/services/{Layer}/FeatureServer/{LayerNum}"

for f in arcpy.ListFields(feature_layer_url):
    print(f)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 13:59:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-online-and-arcpy/m-p/1499828#M70950</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2024-07-01T13:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Online and Arcpy</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-online-and-arcpy/m-p/1499869#M70952</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/10527"&gt;@JakeSkinner&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That was present and I confirmed that the credentials were working for login, that unfortunately did not change the outcome.&lt;/P&gt;&lt;P&gt;Cody&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 14:40:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-online-and-arcpy/m-p/1499869#M70952</guid>
      <dc:creator>CodyPatterson</dc:creator>
      <dc:date>2024-07-01T14:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Online and Arcpy</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-online-and-arcpy/m-p/1499879#M70953</link>
      <description>&lt;P&gt;Can you share the feature service to an AGOL group and invite my user account (&lt;STRONG&gt;jskinner_rats&lt;/STRONG&gt;)?&amp;nbsp; I can take a look.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 14:58:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-online-and-arcpy/m-p/1499879#M70953</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2024-07-01T14:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Online and Arcpy</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-online-and-arcpy/m-p/1500077#M70964</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/10527"&gt;@JakeSkinner&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The feature layer I'm working with is proprietary and cannot be shared out to the public unfortunately, I've created a separate feature layer, which experiences the same issue.&lt;/P&gt;&lt;P&gt;Here's what I see:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CodyPatterson_1-1719866603642.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/108510iF8B179C8BAB6D617/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CodyPatterson_1-1719866603642.png" alt="CodyPatterson_1-1719866603642.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Cody&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 20:43:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-online-and-arcpy/m-p/1500077#M70964</guid>
      <dc:creator>CodyPatterson</dc:creator>
      <dc:date>2024-07-01T20:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Online and Arcpy</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-online-and-arcpy/m-p/1500085#M70967</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/712076"&gt;@CodyPatterson&lt;/a&gt;&amp;nbsp;try specifying the index number in the Feature Service URL (i.e. /FeatureServer/0).&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 21:01:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-online-and-arcpy/m-p/1500085#M70967</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2024-07-01T21:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Online and Arcpy</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-online-and-arcpy/m-p/1500520#M70970</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/10527"&gt;@JakeSkinner&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I came up with the same error, did yours end up going through?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CodyPatterson_0-1719947194154.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/108587i011CCD1FB022D25B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CodyPatterson_0-1719947194154.png" alt="CodyPatterson_0-1719947194154.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Cody&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 19:06:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-online-and-arcpy/m-p/1500520#M70970</guid>
      <dc:creator>CodyPatterson</dc:creator>
      <dc:date>2024-07-02T19:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Online and Arcpy</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-online-and-arcpy/m-p/1500548#M70971</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/712076"&gt;@CodyPatterson&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Yes, this worked for me:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JakeSkinner_0-1719948979977.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/108599i8710919253BD5F1D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JakeSkinner_0-1719948979977.png" alt="JakeSkinner_0-1719948979977.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 19:36:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-online-and-arcpy/m-p/1500548#M70971</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2024-07-02T19:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Online and Arcpy</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-online-and-arcpy/m-p/1500844#M70979</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/10527"&gt;@JakeSkinner&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is extremely strange, not entirely sure what I'm doing wrong, but I suppose I'll just make a support ticket regarding it. I log into AGOL with these credentials and I'm responding to you currently with them, there is no reason that it shouldn't work, but for some reason it isn't. Thank you for your continual responses and suggestions, but I'll respond with updates that support hands out!&lt;/P&gt;&lt;P&gt;Edit:&lt;/P&gt;&lt;P&gt;I attempted to copy exactly what you had, I'm not sure where your function came from that had the underscore, mine only worked with the .managment.MakeFeatureLayer(), but I printed the Sign In, and it showed me the token, referrer, and expiry without issue, but still stated it did not exist.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CodyPatterson_0-1720005295419.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/108660i30AC579565227296/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CodyPatterson_0-1720005295419.png" alt="CodyPatterson_0-1720005295419.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cody&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 11:15:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-online-and-arcpy/m-p/1500844#M70979</guid>
      <dc:creator>CodyPatterson</dc:creator>
      <dc:date>2024-07-03T11:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Online and Arcpy</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-online-and-arcpy/m-p/1503473#M71028</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/10527"&gt;@JakeSkinner&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A little update, it seems that this is associated with BUG-000144037 and seems inconsistent, an ESRI tech stated that they were able to replicate the issue and not replicate the issue depending on the day. This seems as if it was classified as a Known Limit, which I assume means it will not be further worked on, but I am confused on how this falls out of ESRI reach as it is ArcPy, an ESRI tool, and ArcGIS API for Python, again an ESRI tool, contacting ArcGIS Online, which is yet again an ESRI tool. I'm asking for clarification within the ticket, but it seems as if this is just something quite strange.&lt;/P&gt;&lt;P&gt;Cody&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 12:54:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-online-and-arcpy/m-p/1503473#M71028</guid>
      <dc:creator>CodyPatterson</dc:creator>
      <dc:date>2024-07-10T12:54:22Z</dc:date>
    </item>
  </channel>
</rss>

