<?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 Workflow to eliminate any schema errors when synchronizing replicas by using arcobjects? in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/workflow-to-eliminate-any-schema-errors-when/m-p/316819#M12122</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to design a bulletproof method to deal with schema changes in a two-way replication environment. &amp;nbsp;The setup is pretty simple: a parent replica where most of the editing and any schema changes will take place, replicated to a child where attribute editing will take place, but no schema changes will be made.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The GP tools offered be ESRI for comparing/importing schema XML have limitations, and I want the synchronization process to be automated and handle ANY and ALL schema changes that are made in the parent database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to do this I am thinking the workflow would be like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Synchronize replicas&lt;/P&gt;&lt;P&gt;Un-register replicas&lt;/P&gt;&lt;P&gt;Delete contents from child database&lt;/P&gt;&lt;P&gt;Run "create replica" tool to re-create replicas and copy the replicated datasets to the child database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I correct to think this would handle all schema changes?&lt;/P&gt;&lt;P&gt;I get that it would be expensive and add a good amount of run time to an automated script, but I don't want to deal with any schema errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the process to be automated, and arcpy doesn't have a tool to un-register replicas, so I would have to use arcobjects within a python script to un-register the replicas. &amp;nbsp;Anyone have any experience/success in doing that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 May 2017 20:38:04 GMT</pubDate>
    <dc:creator>CortWilson</dc:creator>
    <dc:date>2017-05-18T20:38:04Z</dc:date>
    <item>
      <title>Workflow to eliminate any schema errors when synchronizing replicas by using arcobjects?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/workflow-to-eliminate-any-schema-errors-when/m-p/316819#M12122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to design a bulletproof method to deal with schema changes in a two-way replication environment. &amp;nbsp;The setup is pretty simple: a parent replica where most of the editing and any schema changes will take place, replicated to a child where attribute editing will take place, but no schema changes will be made.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The GP tools offered be ESRI for comparing/importing schema XML have limitations, and I want the synchronization process to be automated and handle ANY and ALL schema changes that are made in the parent database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to do this I am thinking the workflow would be like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Synchronize replicas&lt;/P&gt;&lt;P&gt;Un-register replicas&lt;/P&gt;&lt;P&gt;Delete contents from child database&lt;/P&gt;&lt;P&gt;Run "create replica" tool to re-create replicas and copy the replicated datasets to the child database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I correct to think this would handle all schema changes?&lt;/P&gt;&lt;P&gt;I get that it would be expensive and add a good amount of run time to an automated script, but I don't want to deal with any schema errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the process to be automated, and arcpy doesn't have a tool to un-register replicas, so I would have to use arcobjects within a python script to un-register the replicas. &amp;nbsp;Anyone have any experience/success in doing that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 20:38:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/workflow-to-eliminate-any-schema-errors-when/m-p/316819#M12122</guid>
      <dc:creator>CortWilson</dc:creator>
      <dc:date>2017-05-18T20:38:04Z</dc:date>
    </item>
  </channel>
</rss>

