<?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 Updating AGO Hosted Feature Services with Python in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/updating-ago-hosted-feature-services-with-python/m-p/103658#M4927</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello, we are currently using the python script below to update services in ArcGIS online. The issue we are having is when it runs it removes the thumbnail and description I populate. I was wondering if it is possible for the thumbnail and the description not to be removed when it runs? Any help on this would be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://blogs.esri.com/esri/arcgis/20...s-with-python/"&gt;http://blogs.esri.com/esri/arcgis/20...s-with-python/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dan Senner&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 May 2014 15:29:39 GMT</pubDate>
    <dc:creator>DanielSenner</dc:creator>
    <dc:date>2014-05-22T15:29:39Z</dc:date>
    <item>
      <title>Updating AGO Hosted Feature Services with Python</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/updating-ago-hosted-feature-services-with-python/m-p/103658#M4927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello, we are currently using the python script below to update services in ArcGIS online. The issue we are having is when it runs it removes the thumbnail and description I populate. I was wondering if it is possible for the thumbnail and the description not to be removed when it runs? Any help on this would be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://blogs.esri.com/esri/arcgis/20...s-with-python/"&gt;http://blogs.esri.com/esri/arcgis/20...s-with-python/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dan Senner&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 15:29:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/updating-ago-hosted-feature-services-with-python/m-p/103658#M4927</guid>
      <dc:creator>DanielSenner</dc:creator>
      <dc:date>2014-05-22T15:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Updating AGO Hosted Feature Services with Python</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/updating-ago-hosted-feature-services-with-python/m-p/103659#M4928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Your link got garbled, so I'm not sure if you're pointing to the first or 2nd version of the blog.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the 2nd version of the blog, you can enter a description into the INI file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://blogs.esri.com/esri/arcgis/2014/01/24/updating-your-hosted-feature-service-for-10-2/"&gt;http://blogs.esri.com/esri/arcgis/2014/01/24/updating-your-hosted-feature-service-for-10-2/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for the thumbnail, I see its part of the &lt;/SPAN&gt;&lt;STRONG&gt;item&lt;/STRONG&gt;&lt;SPAN&gt; common parameters: &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r30000009v000000"&gt;http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r30000009v000000&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;That said, you could enhance the script to upload a thumbnail when uploading the SD.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You could go as far as generating a new thumbnail everytime you run the script (from the MXD). There is an arcpy command: &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//00s30000000n000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//00s30000000n000000&lt;/A&gt;&lt;SPAN&gt; or some code examples in this Q&amp;amp;A: &lt;/SPAN&gt;&lt;A href="http://mappingcenter.esri.com/index.cfm?fa=ask.answers&amp;amp;q=1504"&gt;http://mappingcenter.esri.com/index.cfm?fa=ask.answers&amp;amp;q=1504&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2014 12:09:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/updating-ago-hosted-feature-services-with-python/m-p/103659#M4928</guid>
      <dc:creator>KevinHibma</dc:creator>
      <dc:date>2014-05-23T12:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Updating AGO Hosted Feature Services with Python</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/updating-ago-hosted-feature-services-with-python/m-p/103660#M4929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kevin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for&amp;nbsp;creating that blog.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read &lt;A href="https://www.esri.com/arcgis-blog/products/analytics/analytics/updating-your-hosted-feature-services-with-arcgis-pro-and-the-arcgis-api-for-python/"&gt;your blog post&lt;/A&gt; and wrote a script based on it. I am currently coming across an issue and thought I would share&amp;nbsp;it as you seem to&amp;nbsp;have some experience in the domain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to update the title of an item in open data, considering it is encased in a process with a script similar to yours (.aprx -&amp;gt; service definition -&amp;gt; hosted feature layer in AGOL).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on your expertise, do you think renaming the feature service might be the best solution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my post on geonet:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/message/928224-updating-title-of-hosted-feature-layer-getting-updated-via-script"&gt;https://community.esri.com/message/928224-updating-title-of-hosted-feature-layer-getting-updated-via-script&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’ve also opened a case but the analyst suggested renaming the service but I have not been able to find these functionalities on the admin REST for AGOL.&lt;/P&gt;&lt;P&gt;I saw you had created a tool to rename services (I assume using the REST api). I was wondering if I could possibly use it on my service in AGOL?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I’ve also tried &lt;A href="https://developers.arcgis.com/rest/services-reference/update-definition-feature-service-.htm"&gt;https://developers.arcgis.com/rest/services-reference/update-definition-feature-service-.htm&lt;/A&gt; to no avail.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2020 22:02:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/updating-ago-hosted-feature-services-with-python/m-p/103660#M4929</guid>
      <dc:creator>AdrienLepoutre</dc:creator>
      <dc:date>2020-05-12T22:02:40Z</dc:date>
    </item>
  </channel>
</rss>

