<?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: Field name changes to lower case when cloning a service in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/field-name-changes-to-lower-case-when-cloning-a/m-p/1285345#M8646</link>
    <description>&lt;P&gt;I'm also dealing with this issue. Do you know if there is a resolution?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 May 2023 18:12:25 GMT</pubDate>
    <dc:creator>KirkKirchner</dc:creator>
    <dc:date>2023-05-03T18:12:25Z</dc:date>
    <item>
      <title>Field name changes to lower case when cloning a service</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/field-name-changes-to-lower-case-when-cloning-a/m-p/781140#M1203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am cloning a service from AGOL to my portal using the code provided below but due to some reason all the field name of newly created hosted service are lower case is there any workaround for that?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from arcgis import gis&lt;/P&gt;&lt;P&gt;def clone_servcie():&lt;BR /&gt; &lt;BR /&gt; source = gis.GIS('http://www.arcgis.com/')&lt;BR /&gt; target = gis.GIS('my portal url')&lt;/P&gt;&lt;P&gt;itemsIds = ['0fa1ed423c8c46f68e39a15dc7433f53']&lt;/P&gt;&lt;P&gt;created_items = []&lt;/P&gt;&lt;P&gt;for item_id in itemsIds: &lt;BR /&gt; item = source.content.get(item_id)&lt;BR /&gt; print('Cloning {0}'.format(item['title']))&lt;BR /&gt; created_items += target.content.clone_items([item],copy_data=False )&lt;BR /&gt; &lt;BR /&gt; print(len(created_items))&lt;/P&gt;&lt;P&gt;clone_servcie() &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2019 11:17:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/field-name-changes-to-lower-case-when-cloning-a/m-p/781140#M1203</guid>
      <dc:creator>Haider_Ali</dc:creator>
      <dc:date>2019-06-07T11:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Field name changes to lower case when cloning a service</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/field-name-changes-to-lower-case-when-cloning-a/m-p/781141#M1204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is due to the differences in the databases used for hosted services on ArcGIS Online and hosted services on Enterprise. As far as I know there is nothing that can be done.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2019 12:20:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/field-name-changes-to-lower-case-when-cloning-a/m-p/781141#M1204</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-06-07T12:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Field name changes to lower case when cloning a service</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/field-name-changes-to-lower-case-when-cloning-a/m-p/1027818#M5566</link>
      <description>&lt;P&gt;Is there still no work around for this? I am currently dealing with this.&lt;/P&gt;&lt;P&gt;I am updating an event every couple of minutes. An event, x1, is ingested. It holds x1 for an approximate time. Another event happens. It ingests event 2, x2.&amp;nbsp; It (x2) compares itself to x1, though, to see if it is the same event. It runs into some issues because it uses certain fields to do this. The problem is the fields are now being changed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is happening even though there are 2 data frames managing these fields that whole time. The problem begins with the portal altering the field names, for example from AllUpperCase to all_lower_case.&lt;/P&gt;&lt;P&gt;If I figure anything out, I will share.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 20:59:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/field-name-changes-to-lower-case-when-cloning-a/m-p/1027818#M5566</guid>
      <dc:creator>RyanLingoFAA</dc:creator>
      <dc:date>2021-02-17T20:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Field name changes to lower case when cloning a service</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/field-name-changes-to-lower-case-when-cloning-a/m-p/1132626#M6996</link>
      <description>&lt;P&gt;Were you ever able to find anything out with this issue?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 21:40:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/field-name-changes-to-lower-case-when-cloning-a/m-p/1132626#M6996</guid>
      <dc:creator>LouieRodriguez</dc:creator>
      <dc:date>2022-01-11T21:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Field name changes to lower case when cloning a service</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/field-name-changes-to-lower-case-when-cloning-a/m-p/1285345#M8646</link>
      <description>&lt;P&gt;I'm also dealing with this issue. Do you know if there is a resolution?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 18:12:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/field-name-changes-to-lower-case-when-cloning-a/m-p/1285345#M8646</guid>
      <dc:creator>KirkKirchner</dc:creator>
      <dc:date>2023-05-03T18:12:25Z</dc:date>
    </item>
  </channel>
</rss>

