<?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: RegisterGeodatabaseAsync does not work with versioned data in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/registergeodatabaseasync-does-not-work-with/m-p/543889#M6663</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for pointing to this out. &amp;nbsp;Not the answer I was looking for but at least it confirms my belief it is not supported. Digging into the depths of the rest API can be quite cumbersome. &amp;nbsp;I think the lack of ability to register an existing versioned replica makes using a versioned workflow near impossible if the offline dataset is large, because the combined time to generate and then download the replica is prohibitive&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Apr 2017 00:09:50 GMT</pubDate>
    <dc:creator>JoeHershman</dc:creator>
    <dc:date>2017-04-06T00:09:50Z</dc:date>
    <item>
      <title>RegisterGeodatabaseAsync does not work with versioned data</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/registergeodatabaseasync-does-not-work-with/m-p/543887#M6661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have had this conversation with multiple people on the development team at conferences over the couple years. &amp;nbsp;Everyone will always assure me that it will be/is possible to register an offline database that uses versioned data. &amp;nbsp;Because I had only done this on pre-release on beta versions I took their word is being true once the 100.0 version was released.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, after finally getting around to setting and running tests with the release version I will again argue it is not possible. &amp;nbsp;Whenever I try I get the following error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;Esri.ArcGISRuntime.Http.ArcGISWebException: Unable to complete operation.
 at Esri.ArcGISRuntime.ArcGISException.HandleCoreError(CoreError error, Boolean throwException)
 at RuntimeCoreNet.GeneratedWrappers.Interop.CheckError(IntPtr errorHandle, Boolean throwOnFailure, GCHandle wrapperHandle)
 at RuntimeCoreNet.GeneratedWrappers.CoreTask.Get()
 at Esri.ArcGISRuntime.Internal.CoreTaskExtensions.TaskCompletedCallbackHandler.OnCompleted(Object sender, EventArgs e)
--- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Esri.ArcGISRuntime.Internal.CoreTaskExtensions.TaskCompletedCallbackHandler.&amp;lt;CreateInternal&amp;gt;d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at System.Runtime.CompilerServices.TaskAwaiter.GetResult()‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The code itself is incredibly simple. &amp;nbsp;So I am not sure where there would be an error in the code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;var gdbTask &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; await GeodatabaseSyncTask&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;CreateAsync&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;new &lt;SPAN class="token function"&gt;Uri&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fportaldev.domin.com%2Fserver%2Frest%2Fservices%2FOperations%2FUpdatableFeaturesService%2FFeatureServer" target="_blank"&gt;https://portaldev.domin.com/server/rest/services/Operations/UpdatableFeaturesService/FeatureServer&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; _portal&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Credential&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 

Geodatabase gdb &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; await Geodatabase&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;OpenAsync&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;@&lt;SPAN class="string token"&gt;"D:\Mobile\Operational\Bidirectional\UpdatableFeaturesService.geodatabase"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
await gdbTask&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;RegisterGeodatabaseAsync&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;gdb&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, looking at the documentation I notice this piece about registering offline databases&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;After taking copies of the original database, do not sync changes to the original until all copies have been registered.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps I am unclear on what that means, but in a large implementation this&amp;nbsp;seems an impossible condition to meet. &amp;nbsp;We are deploying to over 600 users there is no way you can get every machine setup in advance of some users going out in the field and making edits that need to be synched.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/42939" target="_blank"&gt;Justin Colville&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/2602" target="_blank"&gt;Will Crick&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 23:32:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/registergeodatabaseasync-does-not-work-with/m-p/543887#M6661</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2021-12-11T23:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: RegisterGeodatabaseAsync does not work with versioned data</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/registergeodatabaseasync-does-not-work-with/m-p/543888#M6662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I won't be able to test this until I get back to work but you may be right based on the REST API documentation:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Create_Replica/02r3000000rp000000/" title="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Create_Replica/02r3000000rp000000/"&gt;ArcGIS REST API&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you register an existing runtime geodatabase with a FeatureService you use the replicaOptions parameter like so:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;replicaOptions = {"registerExistingData": {"refReplicaId": "{4721B2DD-CAE4-4a0f-B4E2-EAEB0AA80B0A}", "refReplicaServerGen": 100}}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;The documentation on this property states:&lt;BR /&gt;&lt;SPAN style="font-size: 12.16px;"&gt;Versioned data (layer property: &lt;/SPAN&gt;&lt;SPAN class="" style="border: 0px; font-size: 12.16px;"&gt;isDataVersioned = true&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.16px;"&gt;) is not supported with the &lt;/SPAN&gt;&lt;SPAN class="" style="border: 0px; font-size: 12.16px;"&gt;replicaOptions&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.16px;"&gt; parameter at this time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;Thus this appears to be a limitation of ArcGIS Server, unless the docs are out of date and support has since been added.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Apr 2017 23:31:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/registergeodatabaseasync-does-not-work-with/m-p/543888#M6662</guid>
      <dc:creator>NicholasHaney</dc:creator>
      <dc:date>2017-04-05T23:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: RegisterGeodatabaseAsync does not work with versioned data</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/registergeodatabaseasync-does-not-work-with/m-p/543889#M6663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for pointing to this out. &amp;nbsp;Not the answer I was looking for but at least it confirms my belief it is not supported. Digging into the depths of the rest API can be quite cumbersome. &amp;nbsp;I think the lack of ability to register an existing versioned replica makes using a versioned workflow near impossible if the offline dataset is large, because the combined time to generate and then download the replica is prohibitive&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 00:09:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/registergeodatabaseasync-does-not-work-with/m-p/543889#M6663</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2017-04-06T00:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: RegisterGeodatabaseAsync does not work with versioned data</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/registergeodatabaseasync-does-not-work-with/m-p/543890#M6664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joe, are you successful with the same deployment practice using archiving instead of versioning? &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 17:32:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/registergeodatabaseasync-does-not-work-with/m-p/543890#M6664</guid>
      <dc:creator>KarynTareen</dc:creator>
      <dc:date>2017-04-25T17:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: RegisterGeodatabaseAsync does not work with versioned data</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/registergeodatabaseasync-does-not-work-with/m-p/543891#M6665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yup&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 17:35:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/registergeodatabaseasync-does-not-work-with/m-p/543891#M6665</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2017-04-25T17:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: RegisterGeodatabaseAsync does not work with versioned data</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/registergeodatabaseasync-does-not-work-with/m-p/543892#M6666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Care to share? &amp;nbsp;Is that a one-way replica? &amp;nbsp;No multi-sync from the field? &amp;nbsp;No backflow of information to the field? &amp;nbsp;Do you sync once, then recreate the one-way replica for each user? &amp;nbsp;Seems cumbersome. &amp;nbsp;Anyone from Esri care to elaborate?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 15:02:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/registergeodatabaseasync-does-not-work-with/m-p/543892#M6666</guid>
      <dc:creator>KarynTareen</dc:creator>
      <dc:date>2017-04-27T15:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: RegisterGeodatabaseAsync does not work with versioned data</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/registergeodatabaseasync-does-not-work-with/m-p/543893#M6667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What I have setup right now is to generate an initial replica of my non-versioned archive enabled database. &amp;nbsp;We have made the trade off to move this direction because the versioning scheme is a disaster, in my opinion, for versioned replication.&lt;/P&gt;&lt;P&gt;An issue I have found is that when generating a replica it will only sit on the server for a little while before being deleted so you need to generate (I do though the runtime API and then make a copy of that replica but you can do through rest directly). &amp;nbsp;If you do through rest you need to copy off the server after it is created. &amp;nbsp;Our approach right now is to put those replicas on Portal. &amp;nbsp;I zip up and tell portal it is a code file because it will load that way, defining the zip as some types Portal checks the file and it won't load. &amp;nbsp;On the clients I download the Portal item, unzip and call Register of that database. &amp;nbsp;At this point it will sync changes from that user.&lt;/P&gt;&lt;P&gt;Yes it is cumbersome. &amp;nbsp;I think that the new replication approach is poorly designed and not well thought out, especially for a large offline deployment. &amp;nbsp;Using versioned data in a large deployment is not possible, unless you consider managing 1000 versions realistic. &amp;nbsp;There is no way to have reconcile and post working efficiently and stable with that many versions to achieve a near real-time field updates. &amp;nbsp;Not to mentions the administration nightmare. &amp;nbsp;The limitations on replicas only having a single feature class per layer (i.e., two layers pointing to a single feature class) makes designing offline databases very difficult. &amp;nbsp;To see the same data symbolized in two ways I now need to have two offline databases and all the deployment and client side effort that involves.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck -- joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 17:03:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/registergeodatabaseasync-does-not-work-with/m-p/543893#M6667</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2017-04-27T17:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: RegisterGeodatabaseAsync does not work with versioned data</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/registergeodatabaseasync-does-not-work-with/m-p/543894#M6668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We recently encountered the same exception calling RegisterReplica using v100, UWP flavor. In an earlier project, we were successful sideloading the initial .geodatabase to devices and ensuring that RegisterReplica was called once prior to sync. However, we were using archiving, not versioning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would be interested to hear other information on this topic. At the very least, it seems the doc could be improved. In our situation, we are dealing with fairly simple sync use cases. In the simplest case, sync works for us from Device 1 (no reg&amp;nbsp;replica required). My understanding is that Device 2 can sync against same replica (hitting same version on back end). We also have additional options which are outlined in the doc, including creating a version per device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To clarify, I think we share the same requirement as the original poster of desiring a model which scales to potentially many users/devices, but allows sideload of the initial sync-able .geodatabase.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 17:16:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/registergeodatabaseasync-does-not-work-with/m-p/543894#M6668</guid>
      <dc:creator>deleted-user-Ohz6rwd1kavx</dc:creator>
      <dc:date>2017-04-27T17:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: RegisterGeodatabaseAsync does not work with versioned data</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/registergeodatabaseasync-does-not-work-with/m-p/543895#M6669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I (we) agree &lt;A href="https://community.esri.com/people/minerjoe"&gt;minerjoe&lt;/A&gt;. &amp;nbsp; There's got to be a better way to maintain a versioned workflow, but still allow mutliple(100's) field users to edit offline and sync back to the same version. &amp;nbsp;I like your use of portal for the deployments - that's great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is probably a stupid question, but before we give up on the versioned RegisterGeodatabaseAsync , I've got to ask. &amp;nbsp;Are you using the one way replica and only pushing updates to the server - or have you figured out how to make archiving work with the two way sync/replica? &amp;nbsp;I can't find any documentation supporting two way with archiving, but I'm also not seeing anything concrete saying you can't do it either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3901"&gt;Cory Eicher&lt;/A&gt;‌ , we've been sideloading syncable data for years - I'm starting to miss 'arcgis mobile'. &amp;nbsp;It had problems, but at least you could sync!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 17:30:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/registergeodatabaseasync-does-not-work-with/m-p/543895#M6669</guid>
      <dc:creator>KarynTareen</dc:creator>
      <dc:date>2017-04-27T17:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: RegisterGeodatabaseAsync does not work with versioned data</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/registergeodatabaseasync-does-not-work-with/m-p/543896#M6670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can sync both directions using the archive model. &amp;nbsp;But I agree I am missing arcgis mobile. &amp;nbsp;I think from an offline perspective the way the mobile for Windows API handled things worked far better than the existing replica model.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 18:32:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/registergeodatabaseasync-does-not-work-with/m-p/543896#M6670</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2017-04-27T18:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: RegisterGeodatabaseAsync does not work with versioned data</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/registergeodatabaseasync-does-not-work-with/m-p/543897#M6671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My testing has found that no matter what, in a versioned deployment the replica needs to be generated and downloaded onto the device via the API. &amp;nbsp;If it is the same user it will not create a new version, but the download process still needs to be done from that device. &amp;nbsp;I have tried to sideload a replica created on one device onto another which is being logged onto by the same user. &amp;nbsp;I have seen data move back to the server and from server to device, but not correctly. &amp;nbsp;I would observe something like device B pushes the edits to the server and they are seen on the server, but device A would not pull those changes. &amp;nbsp;The correct round trip behavior was not occurring. &amp;nbsp;If I did the full download process using the API from each device, I would only have the one version and things would sync correctly. &amp;nbsp;This, however, is not a valid workflow because doing this requires a replica be created every time you want to download a database.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Apr 2017 12:53:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/registergeodatabaseasync-does-not-work-with/m-p/543897#M6671</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2017-04-29T12:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: RegisterGeodatabaseAsync does not work with versioned data</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/registergeodatabaseasync-does-not-work-with/m-p/543898#M6672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We did some testing with this recently. We used an app we have built on the ArcGIS Runtime SDK for .NET v100, UWP flavor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our underlying feature class is versioned, and we are syncing two way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We tested creating features on 2 different devices and syncing. We also used ArcMap to check the contents in the back-office geodatabase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Findings:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If we used same .geodatabase (same replica) on Device 1 and Device 2, sync ran without errors, but it did NOT run as expected.&lt;UL&gt;&lt;LI&gt;We specifically observed issue where features created on Device 1 and uploaded to server, were not correctly downloaded to Device 2.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;We changed 2 things (yes, I know this violates scientific best practices)...&lt;UL&gt;&lt;LI&gt;We changed feature service advanced setting to create version per user (not per replica).&lt;/LI&gt;&lt;LI&gt;We created 2 different replicas (manually via REST endpoint) and sideloaded these replicas to Device 1 and Device 2&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;... after making these changes, we re-ran our same tests and things worked well.&lt;UL&gt;&lt;LI&gt;We did not observe same issue as above.&lt;/LI&gt;&lt;LI&gt;We did not find any other issues.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;So, basically this supports what you posted. The only difference, which could be useful in some scenarios, is that we were able to create our replicas and sideload. It makes sense that this works as it is basically the same thing as creating using Runtime SDK on device and downloading.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Cory&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 15:57:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/registergeodatabaseasync-does-not-work-with/m-p/543898#M6672</guid>
      <dc:creator>deleted-user-Ohz6rwd1kavx</dc:creator>
      <dc:date>2017-05-18T15:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: RegisterGeodatabaseAsync does not work with versioned data</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/registergeodatabaseasync-does-not-work-with/m-p/543899#M6673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have still seen the behavior you describe in your first bullet point even when following the workflow you present in the second description. &amp;nbsp;I would never get a full round trip sync from multiple devices. &amp;nbsp;Now one thing we do have that (I would guess) impacts things is we use IWA. &amp;nbsp;So that second user is not the same actual user that created the replica.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This goes back to something I have brought up before the idea of using a fake user as the sync user. &amp;nbsp;However, that would basically mean having a separate AGS at minimum to use for generating replicas (if not a separate Portal deployment). &amp;nbsp;This over complicates deployment to a point that it is no longer acceptable. &amp;nbsp;Because our primary Portal is used for much more than just hosting mobile sync, and IWA is a critical requirement of the deployment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would love to see esri invest more effort in a robust versioned offline workflow that could also work in a scenario where multiple services are required for 100s of offline users. &amp;nbsp;Because of the limitation of a single feature layer per feature class it is difficult to find a approach that would not require multiple services for a large deployment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 14:19:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/registergeodatabaseasync-does-not-work-with/m-p/543899#M6673</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2017-05-23T14:19:37Z</dc:date>
    </item>
  </channel>
</rss>

