<?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 Event when VersionManagementService.changeVersionWithResult completes? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/event-when-versionmanagementservice/m-p/1536364#M85633</link>
    <description>&lt;P&gt;We have a React/TS app connected to an AGE with a FeatureServer configured for branch versioning and a&amp;nbsp;&lt;SPAN&gt;VersionManagementServer.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;The app has a MapView that shows features from the FeatureServer and we have been able to create and delete versions, and switch the feature layer from one version to another.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;We are currently missing some way of knowing that the target layer(s) have successfully switched version. I have tried to listen to "reload" event, as well as some events on the FeatureLayerView but could not see anything obvious.&lt;/P&gt;&lt;P&gt;Is there something that tells the layer has switched version?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Related to that, the documentation about reconcile is a bit incomplete. Or rather the important info appears to be a bit hidden&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/utility-network/version-management-service/#reconcile-and-post" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/utility-network/version-management-service/#reconcile-and-post&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In the text is says "T&lt;SPAN&gt;he reconcile method requires that you are the only user currently editing the version and remain so throughout the reconcile process until you save or post your edits." which practically mean that I have to start editing before calling reconcile? This is not in the code samples. But without starting editing, when calling reconcile, I was getting an error along the lines "There are no locks on the version".&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 09 Sep 2024 12:45:21 GMT</pubDate>
    <dc:creator>ViktorSafar</dc:creator>
    <dc:date>2024-09-09T12:45:21Z</dc:date>
    <item>
      <title>Event when VersionManagementService.changeVersionWithResult completes?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/event-when-versionmanagementservice/m-p/1536364#M85633</link>
      <description>&lt;P&gt;We have a React/TS app connected to an AGE with a FeatureServer configured for branch versioning and a&amp;nbsp;&lt;SPAN&gt;VersionManagementServer.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;The app has a MapView that shows features from the FeatureServer and we have been able to create and delete versions, and switch the feature layer from one version to another.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;We are currently missing some way of knowing that the target layer(s) have successfully switched version. I have tried to listen to "reload" event, as well as some events on the FeatureLayerView but could not see anything obvious.&lt;/P&gt;&lt;P&gt;Is there something that tells the layer has switched version?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Related to that, the documentation about reconcile is a bit incomplete. Or rather the important info appears to be a bit hidden&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/utility-network/version-management-service/#reconcile-and-post" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/utility-network/version-management-service/#reconcile-and-post&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In the text is says "T&lt;SPAN&gt;he reconcile method requires that you are the only user currently editing the version and remain so throughout the reconcile process until you save or post your edits." which practically mean that I have to start editing before calling reconcile? This is not in the code samples. But without starting editing, when calling reconcile, I was getting an error along the lines "There are no locks on the version".&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2024 12:45:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/event-when-versionmanagementservice/m-p/1536364#M85633</guid>
      <dc:creator>ViktorSafar</dc:creator>
      <dc:date>2024-09-09T12:45:21Z</dc:date>
    </item>
  </channel>
</rss>

