<?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: Using cursor to update Hosted Feature Service without login in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/using-cursor-to-update-hosted-feature-service/m-p/1127770#M63296</link>
    <description>&lt;P&gt;I got an error:&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;RuntimeError&lt;/SPAN&gt;: cannot open '&lt;A href="https://services6.arcgis.com/U1zX3Wx8hhY7Gb30/arcgis/rest/services/Scratch/FeatureServer/2" target="_blank" rel="noopener"&gt;https://services6.arcgis.com/U1zX3Wx8hhY7Gb30/arcgis/rest/services/Scratch/FeatureServer/2&lt;/A&gt;'&lt;/P&gt;&lt;P&gt;You are absolutely right that my Portal login info is stored in arcpy even though I don't have ArcGIS Pro opened (I ran the script in Anaconda) or portal logged in. If I manually log out my account in ArcGIS Pro, I can't access my own private feature service via cursor. Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 20 Dec 2021 20:26:53 GMT</pubDate>
    <dc:creator>Boyang_Wang</dc:creator>
    <dc:date>2021-12-20T20:26:53Z</dc:date>
    <item>
      <title>Using cursor to update Hosted Feature Service without login</title>
      <link>https://community.esri.com/t5/python-questions/using-cursor-to-update-hosted-feature-service/m-p/1127723#M63291</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Has anyone tried to use ArcPy cursor&amp;nbsp;to update Hosted Feature Service without login? Today I succeeded in using InsertCursor and UpdateCursor on a private hosted feature service using just the URL without logging in to my Enterprise Portal. Does this mean any person can access a private hosted feature service using ArcPy cursor?&lt;/P&gt;&lt;P&gt;Boyang&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;UPDATE: After testing I confirmed that, without logging to a portal in ArcGIS Pro, I can only edit public features with editing enabled. This conforms to ArcGIS security rules. False alarm.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 20:26:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-cursor-to-update-hosted-feature-service/m-p/1127723#M63291</guid>
      <dc:creator>Boyang_Wang</dc:creator>
      <dc:date>2021-12-20T20:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: Using cursor to update Hosted Feature Service without login</title>
      <link>https://community.esri.com/t5/python-questions/using-cursor-to-update-hosted-feature-service/m-p/1127734#M63292</link>
      <description>&lt;P&gt;If you're using arcpy, you are being authenticated with your organization's portal already in order to check out a license, so I don't think it means anonymous users can edit things.&lt;/P&gt;&lt;P&gt;I could give you a throwaway private feature service URL from a different org if you wanted to test that.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 19:37:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-cursor-to-update-hosted-feature-service/m-p/1127734#M63292</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-12-20T19:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Using cursor to update Hosted Feature Service without login</title>
      <link>https://community.esri.com/t5/python-questions/using-cursor-to-update-hosted-feature-service/m-p/1127736#M63293</link>
      <description>&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/arcgis-online/manage-data/hosted-web-layers.htm" target="_blank"&gt;Hosted layers—ArcGIS Online Help | Documentation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 19:39:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-cursor-to-update-hosted-feature-service/m-p/1127736#M63293</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-12-20T19:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using cursor to update Hosted Feature Service without login</title>
      <link>https://community.esri.com/t5/python-questions/using-cursor-to-update-hosted-feature-service/m-p/1127737#M63294</link>
      <description>&lt;P&gt;Hi Josh,&lt;/P&gt;&lt;P&gt;Yes I would like to try that out - whether I can use UpdateCursor to delete all features in one of your throwaway private service via URL.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Boyang&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 19:40:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-cursor-to-update-hosted-feature-service/m-p/1127737#M63294</guid>
      <dc:creator>Boyang_Wang</dc:creator>
      <dc:date>2021-12-20T19:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using cursor to update Hosted Feature Service without login</title>
      <link>https://community.esri.com/t5/python-questions/using-cursor-to-update-hosted-feature-service/m-p/1127764#M63295</link>
      <description>&lt;P&gt;Okay! Here's the URL: &lt;A href="https://services6.arcgis.com/U1zX3Wx8hhY7Gb30/arcgis/rest/services/Scratch/FeatureServer/2" target="_blank"&gt;https://services6.arcgis.com/U1zX3Wx8hhY7Gb30/arcgis/rest/services/Scratch/FeatureServer/2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There are about 13 random polygons I added. See if anything happens!&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 20:11:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-cursor-to-update-hosted-feature-service/m-p/1127764#M63295</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-12-20T20:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Using cursor to update Hosted Feature Service without login</title>
      <link>https://community.esri.com/t5/python-questions/using-cursor-to-update-hosted-feature-service/m-p/1127770#M63296</link>
      <description>&lt;P&gt;I got an error:&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;RuntimeError&lt;/SPAN&gt;: cannot open '&lt;A href="https://services6.arcgis.com/U1zX3Wx8hhY7Gb30/arcgis/rest/services/Scratch/FeatureServer/2" target="_blank" rel="noopener"&gt;https://services6.arcgis.com/U1zX3Wx8hhY7Gb30/arcgis/rest/services/Scratch/FeatureServer/2&lt;/A&gt;'&lt;/P&gt;&lt;P&gt;You are absolutely right that my Portal login info is stored in arcpy even though I don't have ArcGIS Pro opened (I ran the script in Anaconda) or portal logged in. If I manually log out my account in ArcGIS Pro, I can't access my own private feature service via cursor. Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 20:26:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-cursor-to-update-hosted-feature-service/m-p/1127770#M63296</guid>
      <dc:creator>Boyang_Wang</dc:creator>
      <dc:date>2021-12-20T20:26:53Z</dc:date>
    </item>
  </channel>
</rss>

