<?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: What is the suggested offline workflow for storing features from a service in a mobile .NET MAUI application? in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/what-is-the-suggested-offline-workflow-for-storing/m-p/1594861#M13372</link>
    <description>&lt;P&gt;We were able to create geodatabase replicas using Feature Service URLs. And these replicas show up on Enterprise in the list of replicas for the service. Great!&lt;/P&gt;&lt;P&gt;But the problem is that the client has some complex workflows around data-sync between different staging environments that requires deleting all replicas and recreating them every few weeks. If the replicas are re-created, there is no way to associate the device-local geodatabase replicas to their replica-pairs in Enterprise. When we check the replica page, we see Replica name, ID, version etc. It seems like we cannot use Maps SDK for .NET to query any of this information. Furthermore, I cannot use the Geodatabase class to get the name or ID of replica in server that was just created. Am I correct? Is there a way to get replica ID using the SDK?&lt;/P&gt;&lt;P&gt;Basically, there seems to be no way to know which device-local geodatabase replica is associated with which replica in the server.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks! Any insight appreciated!&lt;/P&gt;</description>
    <pubDate>Wed, 12 Mar 2025 18:08:45 GMT</pubDate>
    <dc:creator>KevinCheriyan</dc:creator>
    <dc:date>2025-03-12T18:08:45Z</dc:date>
    <item>
      <title>What is the suggested offline workflow for storing features from a service in a mobile .NET MAUI application?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/what-is-the-suggested-offline-workflow-for-storing/m-p/1594313#M13368</link>
      <description>&lt;P&gt;I have a requirement for my .NET MAUI application that I need to access a feature service from the client's Enterprise Portal and make it available to the user when their device is offline later.&lt;/P&gt;&lt;P&gt;I started with &lt;A href="https://developers.arcgis.com/net/api-reference/api/net/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Data.Geodatabase.html" target="_self"&gt;geodatabase&lt;/A&gt; as a potential solution, but creating and managing replicas turned out to be a bigger headache for the client than I thought. Otherwise, geodatabases would've been a perfect solution. Is there a way to create a geodatabase with a feature service WITHOUT creating a replica?&lt;/P&gt;&lt;P&gt;I won't use MMPKs, because I just need to take a single layer online. There are also other requirements for the application that prevents us from using MMPKs here.&lt;/P&gt;&lt;P&gt;Is my best option to create a &lt;A href="https://developers.arcgis.com/net/api-reference/api/net/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Data.ServiceFeatureTable.html" target="_self"&gt;ServiceFeatureTable&lt;/A&gt; and then export the features to a custom .sqlite database and then load them into the map page?&lt;/P&gt;&lt;P&gt;Or is this a workflow better done using REST to export features from the service to a .geojson and then somehow load them into the map?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help! I would be at DevSummit this week asking the Maps SDK team myself, but unfortunately, couldn't make it out there this year. Community ESRI is the next best option!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 15:49:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/what-is-the-suggested-offline-workflow-for-storing/m-p/1594313#M13368</guid>
      <dc:creator>KevinCheriyan</dc:creator>
      <dc:date>2025-03-11T15:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: What is the suggested offline workflow for storing features from a service in a mobile .NET MAUI application?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/what-is-the-suggested-offline-workflow-for-storing/m-p/1594693#M13369</link>
      <description>&lt;P&gt;Hi Kevin,&lt;/P&gt;&lt;P&gt;Would you be able to use a webmap that is enabled for offline use in your application?If your application involves editing data, this may be a more convenient option.&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/arcgis-online/manage-data/take-maps-offline.htm" target="_blank"&gt;https://doc.arcgis.com/en/arcgis-online/manage-data/take-maps-offline.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 13:20:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/what-is-the-suggested-offline-workflow-for-storing/m-p/1594693#M13369</guid>
      <dc:creator>MarkBockenhauer</dc:creator>
      <dc:date>2025-03-12T13:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: What is the suggested offline workflow for storing features from a service in a mobile .NET MAUI application?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/what-is-the-suggested-offline-workflow-for-storing/m-p/1594740#M13370</link>
      <description>&lt;P&gt;Thank you for your response&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2733"&gt;@MarkBockenhauer&lt;/a&gt;&amp;nbsp;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Assuming all the layers in the client's webmap are approved for offline use...&lt;/P&gt;&lt;P&gt;If we were to take the webmap offline, we'd have to use an on-demand workflow, due to the different map areas that users would need to take offline. But also not sure how scalable this solution is to a large number of users, each of whom would need to take a different area offline.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 14:54:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/what-is-the-suggested-offline-workflow-for-storing/m-p/1594740#M13370</guid>
      <dc:creator>KevinCheriyan</dc:creator>
      <dc:date>2025-03-12T14:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: What is the suggested offline workflow for storing features from a service in a mobile .NET MAUI application?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/what-is-the-suggested-offline-workflow-for-storing/m-p/1594809#M13371</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;P&gt;I started with &lt;A href="https://developers.arcgis.com/net/api-reference/api/net/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Data.Geodatabase.html" target="_self"&gt;geodatabase&lt;/A&gt; as a potential solution, but creating and managing replicas turned out to be a bigger headache for the client than I thought. Otherwise, geodatabases would've been a perfect solution. Is there a way to create a geodatabase with a feature service WITHOUT creating a replica?&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Could you elaborate on that a little more on what issues you're encountering? Creating a replica of your geodatabase is the suggested workflow.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 16:44:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/what-is-the-suggested-offline-workflow-for-storing/m-p/1594809#M13371</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2025-03-12T16:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: What is the suggested offline workflow for storing features from a service in a mobile .NET MAUI application?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/what-is-the-suggested-offline-workflow-for-storing/m-p/1594861#M13372</link>
      <description>&lt;P&gt;We were able to create geodatabase replicas using Feature Service URLs. And these replicas show up on Enterprise in the list of replicas for the service. Great!&lt;/P&gt;&lt;P&gt;But the problem is that the client has some complex workflows around data-sync between different staging environments that requires deleting all replicas and recreating them every few weeks. If the replicas are re-created, there is no way to associate the device-local geodatabase replicas to their replica-pairs in Enterprise. When we check the replica page, we see Replica name, ID, version etc. It seems like we cannot use Maps SDK for .NET to query any of this information. Furthermore, I cannot use the Geodatabase class to get the name or ID of replica in server that was just created. Am I correct? Is there a way to get replica ID using the SDK?&lt;/P&gt;&lt;P&gt;Basically, there seems to be no way to know which device-local geodatabase replica is associated with which replica in the server.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks! Any insight appreciated!&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 18:08:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/what-is-the-suggested-offline-workflow-for-storing/m-p/1594861#M13372</guid>
      <dc:creator>KevinCheriyan</dc:creator>
      <dc:date>2025-03-12T18:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: What is the suggested offline workflow for storing features from a service in a mobile .NET MAUI application?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/what-is-the-suggested-offline-workflow-for-storing/m-p/1594865#M13373</link>
      <description>&lt;P&gt;Are you not planning to sync any local changes back to the server? If so the preplanned workflow might be better for you.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 18:11:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/what-is-the-suggested-offline-workflow-for-storing/m-p/1594865#M13373</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2025-03-12T18:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: What is the suggested offline workflow for storing features from a service in a mobile .NET MAUI application?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/what-is-the-suggested-offline-workflow-for-storing/m-p/1594902#M13375</link>
      <description>&lt;P&gt;We'd like to sync local changes to the service as well, but we were planning on using the SDK's &lt;A href="https://developers.arcgis.com/net/api-reference/api/net/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Data.ServiceGeodatabase.ApplyEditsAsync.html" target="_self"&gt;ApplyEdits&lt;/A&gt; if the geodatabase replica workflow didn't pan out.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think preplanned workflow is out of the question because we don't know which areas of the map users will be performing work in.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I think the best solution we have right now is a custom implementation of local databases that store attribute and geometry data:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;On first app-start, create local .sqlite database with table from FeatureService tables. Probably create a separate field for geometry and a single field to capture all fields-values as key-value pairs. This will give us all the features in the table saved locally.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;On the map page, create features from locally saved data and add as FeatureLayer items with client-side rendering.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;For user to edit this layer data while offline, we save the new attributes and geometry back to the table (or even a new table) and then use ApplyEdits to the service when the device is back online.&lt;/LI&gt;&lt;LI&gt;On every app-start, I would like to not download all data from scratch everytime, so I'll probably use &lt;A href="https://developers.arcgis.com/net/api-reference/api/net/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Data.FeatureRequestMode.html" target="_self"&gt;FeatureRequestMode&lt;/A&gt;&amp;nbsp;enum and &lt;A href="https://developers.arcgis.com/net/api-reference/api/net/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Data.ServiceFeatureTable.PopulateFromServiceAsync.html" target="_self"&gt;PopulateFromServiceAsync()&lt;/A&gt; method. Needs some looking into on my part&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Wed, 12 Mar 2025 19:20:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/what-is-the-suggested-offline-workflow-for-storing/m-p/1594902#M13375</guid>
      <dc:creator>KevinCheriyan</dc:creator>
      <dc:date>2025-03-12T19:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: What is the suggested offline workflow for storing features from a service in a mobile .NET MAUI application?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/what-is-the-suggested-offline-workflow-for-storing/m-p/1594907#M13376</link>
      <description>&lt;P&gt;You could roll your own version of sync sure, but the entire replica process is there for this exact scenario to ensure multiple users won't modify the same feature, keep track of what changed, and sync new edits both up and down.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;It seems like we cannot use Maps SDK for .NET to query any of this information&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This is a REST endpoint. It wouldn't be a lot of work querying and parsing this information. .NET provides lots of great APIs to work with REST and JSON. My guess is that is probably a lot less work than trying to build your own sync framework.&lt;BR /&gt;&lt;BR /&gt;The replica id itself is available on the geodatabase:&amp;nbsp;&lt;A href="https://developers.arcgis.com/net/api-reference/api/net/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Data.Geodatabase.SyncId.html" target="_blank"&gt;https://developers.arcgis.com/net/api-reference/api/net/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Data.Geodatabase.SyncId.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 19:36:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/what-is-the-suggested-offline-workflow-for-storing/m-p/1594907#M13376</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2025-03-12T19:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: What is the suggested offline workflow for storing features from a service in a mobile .NET MAUI application?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/what-is-the-suggested-offline-workflow-for-storing/m-p/1594953#M13378</link>
      <description>&lt;P&gt;Ok, the syncId property is exactly what I was looking for. Yes, we query REST endpoints elsewhere in the app, so we're fine with those workflows.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think I searched for replicaId in the docs, and got zero results. I'll be going with this workflow instead. Thank you for pointing it out!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 21:11:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/what-is-the-suggested-offline-workflow-for-storing/m-p/1594953#M13378</guid>
      <dc:creator>KevinCheriyan</dc:creator>
      <dc:date>2025-03-12T21:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: What is the suggested offline workflow for storing features from a service in a mobile .NET MAUI application?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/what-is-the-suggested-offline-workflow-for-storing/m-p/1595015#M13379</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1052"&gt;@dotMorten_esri&lt;/a&gt;&amp;nbsp;After discussing with my client, it seems like they want the ability to download pre-created (created from server, not mobile) replicas to the mobile app. Allowing hundreds of field workers to each create replicas is unmanageable when taking into account the bi-weekly data sync workflows I mentioned in my earlier comment. So they want to create replicas server-side and then the mobile app goes and downloads them.&lt;/P&gt;&lt;P&gt;This is more an enterprise question and less a Maps SDK issue at this point, so I'm in the wrong place, but... Is there any way to download replica .geodatabase using REST request? I searched around the replica REST page and I can't find a way to do this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2025 00:37:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/what-is-the-suggested-offline-workflow-for-storing/m-p/1595015#M13379</guid>
      <dc:creator>KevinCheriyan</dc:creator>
      <dc:date>2025-03-13T00:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: What is the suggested offline workflow for storing features from a service in a mobile .NET MAUI application?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/what-is-the-suggested-offline-workflow-for-storing/m-p/1597191#M13401</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/148230"&gt;@KevinCheriyan&lt;/a&gt;&amp;nbsp;I am not sure I 100% understand your objective nor do you mention platform as that can impact workflows.&lt;/P&gt;&lt;P&gt;It is possible to generate a replica (using Rest or the SDK).&amp;nbsp; You could then share then distribute that replica and sync.&amp;nbsp; At this point you are finding a way to side load those replicas.&amp;nbsp; This can hard in an Android/iOS world, Windows can be easier.&lt;/P&gt;&lt;P&gt;The big issue one would encounter with this approach is permissions.&amp;nbsp; The esri model is designed around the idea of a replica owner syncing their own replica.&amp;nbsp; The only way for someone to sync a replica they do not own is if they have administrator rights on ArcGIS Enterprise.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 17:16:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/what-is-the-suggested-offline-workflow-for-storing/m-p/1597191#M13401</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2025-03-19T17:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: What is the suggested offline workflow for storing features from a service in a mobile .NET MAUI application?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/what-is-the-suggested-offline-workflow-for-storing/m-p/1598219#M13406</link>
      <description>&lt;P&gt;Thanks for your reply &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/7529"&gt;@JoeHershman&lt;/a&gt;&amp;nbsp;. The platform is iOS. The goal was to create an offline, local version of the feature service that we could use for display on map and edit attributes for.&amp;nbsp;&lt;/P&gt;&lt;P&gt;After consideration of client requirements, we decided that geodatabase sync with replica is too much of a headache to create client-side and/or download from REST.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The solution we settled on is to create a local geodatabase with custom TableDescription created from FeatureService and populated with features from the service. To edit features (still being developed), I think we will use ApplyEdits instead of syncing with the service.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 20:55:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/what-is-the-suggested-offline-workflow-for-storing/m-p/1598219#M13406</guid>
      <dc:creator>KevinCheriyan</dc:creator>
      <dc:date>2025-03-21T20:55:05Z</dc:date>
    </item>
  </channel>
</rss>

