<?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: Reconcile and post problem--Parent version not changed in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/reconcile-and-post-problem-parent-version-not/m-p/1608632#M12852</link>
    <description>&lt;P&gt;The code snippet looks good to me. You could use the &lt;A href="https://www.telerik.com/fiddler" target="_self"&gt;Fiddler tool&lt;/A&gt; to check if your request reached the server.&lt;/P&gt;&lt;P&gt;Also, for debugging purposes, you can split Reconcile and Post into two parts -&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;// Create a ReconcileOptions object
ReconcileOptions reconcileOptions = new ReconcileOptions(parentVersion);
reconcileOptions.ConflictResolutionMethod = ConflictResolutionMethod.Continue; // continue if conflicts are found
reconcileOptions.ConflictDetectionType = ConflictDetectionType.ByRow; 
reconcileOptions.ConflictResolutionType = ConflictResolutionType.FavorEditVersion

// Reconcile
ReconcileResult reconcileResult = currentVersion.Reconcile(reconcileOptions);
if (!reconcileResult.HasConflicts)
{
	//No conflicts, perform the post
	PostOptions postOptions = new PostOptions(parentVersion);
	postOptions.ServiceSynchronizationType = ServiceSynchronizationType.Synchronous;
	currentVersion.Post(postOptions);
}&lt;/LI-CODE&gt;&lt;P&gt;Are you building a corehost application using traditional versioning?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Apr 2025 18:22:03 GMT</pubDate>
    <dc:creator>Aashis</dc:creator>
    <dc:date>2025-04-23T18:22:03Z</dc:date>
    <item>
      <title>Reconcile and post problem--Parent version not changed</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/reconcile-and-post-problem-parent-version-not/m-p/1608400#M12846</link>
      <description>&lt;P&gt;This is my code which trying to merge edit change to the parent version. The&amp;nbsp;reconcileResult indicates there is no confict, howerver the change did not goes to the parent version. Have i missed something?&lt;/P&gt;&lt;P&gt;var childVersion = versionManager.GetVersion(draftingVersion);&lt;BR /&gt;var parentVersion = childVersion.GetParent();// versionManager.GetVersion(upperVersion);&lt;BR /&gt;var reconcileOptions = new ReconcileOptions(parentVersion)&lt;BR /&gt;{&lt;BR /&gt;ConflictDetectionType = ConflictDetectionType.ByRow,&lt;BR /&gt;ConflictResolutionMethod = ConflictResolutionMethod.Continue,&lt;BR /&gt;ConflictResolutionType = ConflictResolutionType.FavorEditVersion,&lt;BR /&gt;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;// Perform reconcile&lt;BR /&gt;// var reconcileResult = childVersion.Reconcile(reconcileOptions);&lt;BR /&gt;PostOptions postOptions = new PostOptions(parentVersion);&lt;BR /&gt;postOptions.ServiceSynchronizationType = ServiceSynchronizationType.Synchronous;&lt;BR /&gt;ReconcileResult reconcileResult = childVersion.Reconcile(reconcileOptions, postOptions);&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 09:32:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/reconcile-and-post-problem-parent-version-not/m-p/1608400#M12846</guid>
      <dc:creator>JinZ</dc:creator>
      <dc:date>2025-04-23T09:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Reconcile and post problem--Parent version not changed</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/reconcile-and-post-problem-parent-version-not/m-p/1608632#M12852</link>
      <description>&lt;P&gt;The code snippet looks good to me. You could use the &lt;A href="https://www.telerik.com/fiddler" target="_self"&gt;Fiddler tool&lt;/A&gt; to check if your request reached the server.&lt;/P&gt;&lt;P&gt;Also, for debugging purposes, you can split Reconcile and Post into two parts -&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;// Create a ReconcileOptions object
ReconcileOptions reconcileOptions = new ReconcileOptions(parentVersion);
reconcileOptions.ConflictResolutionMethod = ConflictResolutionMethod.Continue; // continue if conflicts are found
reconcileOptions.ConflictDetectionType = ConflictDetectionType.ByRow; 
reconcileOptions.ConflictResolutionType = ConflictResolutionType.FavorEditVersion

// Reconcile
ReconcileResult reconcileResult = currentVersion.Reconcile(reconcileOptions);
if (!reconcileResult.HasConflicts)
{
	//No conflicts, perform the post
	PostOptions postOptions = new PostOptions(parentVersion);
	postOptions.ServiceSynchronizationType = ServiceSynchronizationType.Synchronous;
	currentVersion.Post(postOptions);
}&lt;/LI-CODE&gt;&lt;P&gt;Are you building a corehost application using traditional versioning?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 18:22:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/reconcile-and-post-problem-parent-version-not/m-p/1608632#M12852</guid>
      <dc:creator>Aashis</dc:creator>
      <dc:date>2025-04-23T18:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Reconcile and post problem--Parent version not changed</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/reconcile-and-post-problem-parent-version-not/m-p/1608894#M12853</link>
      <description>&lt;P&gt;No, I am just building a normal Add-in.&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;reconcileOptions.ConflictDetectionType = ConflictDetectionType.ByColumn;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;by changing this, it works now. But I don't know why.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 13:27:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/reconcile-and-post-problem-parent-version-not/m-p/1608894#M12853</guid>
      <dc:creator>JinZ</dc:creator>
      <dc:date>2025-04-24T13:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Reconcile and post problem--Parent version not changed</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/reconcile-and-post-problem-parent-version-not/m-p/1608921#M12854</link>
      <description>&lt;P&gt;You probably changed the same column in the same row at different versions&lt;/P&gt;&lt;P&gt;Please refer to &lt;A href="https://learn.microsoft.com/en-us/sql/relational-databases/replication/merge/advanced-merge-replication-conflict-detection-and-resolution?view=sql-server-ver16#conflict-detection" target="_blank"&gt;https://learn.microsoft.com/en-us/sql/relational-databases/replication/merge/advanced-merge-replication-conflict-detection-and-resolution?view=sql-server-ver16#conflict-detection&lt;/A&gt;&amp;nbsp;for conflict detection concepts.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 14:54:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/reconcile-and-post-problem-parent-version-not/m-p/1608921#M12854</guid>
      <dc:creator>Aashis</dc:creator>
      <dc:date>2025-04-24T14:54:30Z</dc:date>
    </item>
  </channel>
</rss>

