<?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 How to apply schema changes to a geodatabase hosted by ArcGIS Online hosted services in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/how-to-apply-schema-changes-to-a-geodatabase/m-p/222077#M10974</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What is a best practice to apply schema changes to a geodatabase hosted by ArcGIS Online hosted services (a.k.a. for Organizations)? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(Note: the hosted feature service is editable and is CRUD'd by various clients, e.g. via ArcGIS Online viewer, ArcGIS for iOS, etc.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My current method is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I maintain an XML Workspace Document of my FGDB schema. When a schema change is necessary I first connect ArcGIS Desktop 10.1 to my ArcGIS Online hosted feature service and export the GDB via Create Local Copy For Editing. The data is copied to a new temporary single replica FGDB that is created for me automatically. Next I create a new empty FGDB based on my XML Workspace Document and then make the changes to its schema (via GP tools, e.g. Add Coded Value to Domain). Next I transfer the data (via Load Data) from the single replica local copy FGDB (the one from Create Local Copy For Editing) to my newly-schema'd empty FGDB. Lastly, my new FGDB goes back up to AGO when I publish (or overwrite) the feature service. (I disconnect the single replica local copy FGDB and abandon it.) This method works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I'm interested to learn if ArcGIS Online hosted feature services are compatible with the Export/Compare/Import Replica Schema tools. If they are compatible, it seems there may be an alternate method of changing the schema, say: Create Local Copy For Editing; change the schema of the Local Copy; do an Export/Compare/Import Replica Schema against the GDB hosted on AGO; then synchronize my Local Copy back to AGO hosted services.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or is there some other method?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Jan 2013 14:57:04 GMT</pubDate>
    <dc:creator>GreggCornetski</dc:creator>
    <dc:date>2013-01-04T14:57:04Z</dc:date>
    <item>
      <title>How to apply schema changes to a geodatabase hosted by ArcGIS Online hosted services</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-apply-schema-changes-to-a-geodatabase/m-p/222077#M10974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What is a best practice to apply schema changes to a geodatabase hosted by ArcGIS Online hosted services (a.k.a. for Organizations)? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(Note: the hosted feature service is editable and is CRUD'd by various clients, e.g. via ArcGIS Online viewer, ArcGIS for iOS, etc.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My current method is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I maintain an XML Workspace Document of my FGDB schema. When a schema change is necessary I first connect ArcGIS Desktop 10.1 to my ArcGIS Online hosted feature service and export the GDB via Create Local Copy For Editing. The data is copied to a new temporary single replica FGDB that is created for me automatically. Next I create a new empty FGDB based on my XML Workspace Document and then make the changes to its schema (via GP tools, e.g. Add Coded Value to Domain). Next I transfer the data (via Load Data) from the single replica local copy FGDB (the one from Create Local Copy For Editing) to my newly-schema'd empty FGDB. Lastly, my new FGDB goes back up to AGO when I publish (or overwrite) the feature service. (I disconnect the single replica local copy FGDB and abandon it.) This method works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I'm interested to learn if ArcGIS Online hosted feature services are compatible with the Export/Compare/Import Replica Schema tools. If they are compatible, it seems there may be an alternate method of changing the schema, say: Create Local Copy For Editing; change the schema of the Local Copy; do an Export/Compare/Import Replica Schema against the GDB hosted on AGO; then synchronize my Local Copy back to AGO hosted services.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or is there some other method?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 14:57:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-apply-schema-changes-to-a-geodatabase/m-p/222077#M10974</guid>
      <dc:creator>GreggCornetski</dc:creator>
      <dc:date>2013-01-04T14:57:04Z</dc:date>
    </item>
  </channel>
</rss>

