Hi,
I am using branch versioning to make edits to a UN dataset.
Scenario 1:
Scenario 2:
Q1: Is this editing workflow correct?
Q2: Why can I not see the differences between the branches I merge / Reconcile-Post?
Q3: How do I review the changes between the branch and default versions before Posting it?
Any advice on this is much appreciated.
Thanks
@Rohanrajan - I can confirm the editing workflow is correct.
What version of ArcGIS Pro are you using?
After 3.4 there is a "Version Changes" functionality that you can use to see the changes.
Here is an example from ArcGIS Pro 3.5 that shows the Version changes.
Hope that helps!
ArcGIS Pro version is 3.4.4
Yes, this option is available but changes don't appear after reconcile.
Actually it used to show changes for small edits.
This edit was a bulk one. And it did not work.
Does it affect it in anyway?
It could be! Some gp tools bypass the version tracking.
Are you writing the bulk changes via the feature service or direct SDE connection? Feature Service method is the recommended way.
Others things to check are
if the layers to which the edits are being made are present on the map.
Have you saved and committed your edits to the version.
The Edits were made using the Append Geoprocessing Tool to the Feature Service Layers and they were in the Active Map
And Yes, I did commit the edits to the branch version and posted to Default
But even after the append process the Default Version Layers were intact without the changes. Only the branch had the changes.
Only After I posted, Default got the changes.
I think this is the correct behavior.
In a named version, you will only be able to see changes that correspond to edits made in the version (i.e. appends in your case).
If you reconcile, you won't see edits / changes that come from Default in the "version changes" tool in ArcGIS Pro.
And only after you post, your named version edits will be visible in Default
@Rohanrajan The Version Changes depend on "edit event" logic in the feature service. I believe the Append Geoprocessing tool bypasses the version changes.
So even though you can see the edits in your version, they will not appear in the Version Changes pane.
I tried this in my test area and it is as expected.
Then, Is there a right way to do bulk edits in versions so that they appear in the changes. Is using Cursors a recommended way?
As long as you're appending edits to the version using Esri software (GP Append, Cursors, Arcade, etc), you cannot bypass the logic used to track branch version changes. If you could, this would mean that the changes wouldn't show up in your version. What could be happening is that your code is applying the edits directly to default (which is easy to verify) or there is an error that is happening that is canceling and rolling back the edit operation, which should be presented through the UI or caught by your script..
Ok. But, I used the Append GP Tool from the toolbox directly, not in a script or code. And Yes, I did append to the layer inside of a branch version. And there was difference between the Default and the Branch versions in record counts and attributes before the reconcile and post.
Even then when i reconciled, it did not return the changes.