Working with offline data in AppStudio (Qt Creator)

363
1
07-11-2022 09:47 AM
arc_ticodex
New Contributor III

Hi everyone! 

Our team is developing a mobile app using ArcGIS AppStudio.

The application will have a form composed by questions and a map with the collection of coordinates, and the user can fill this form with or without internet connection.

Then, when the information is filled in the offline form, it should be able to synchronize and send the information to the database when it is online.

The question is: how to save the form offline and then update the table with the online information.

Reading the documentation, it was understood that to work with an offline map, and to enable the synchronization feature, it is necessary that the feature data be from the enterprise geodatabase. Is this understanding correct?

Is it possible to make a local copy on the geodatabase enterprise mobile device?
Will this local copy be from a mobile geodatabase?
If so, how does a mobile geodatabase sync with an enterprise geodatabase?
Can this synchronization be done directly through the feature service?

I appreciate any information about this issue!

Tags (2)
0 Kudos
1 Reply
LukeSmallwood
Esri Contributor

Hi @arc_ticodex 

If you want to perform offline editing with a central data store then we would recommend using the sync framework. Here you would have a feature service that you would "take offline" to create a local replica geodatabase on your device. You can then perform editing against the local replica and when you are done you can "sync" your local changes back to the original feature service.

This guide topic describes editing workflows and also includes a number of samples that should give you an idea about the workflows.

> it is necessary that the feature data be from the enterprise geodatabase

There are a number of options for how you store the underlying data - with ArcGIS Online you can create a hosted feature service for your data - see https://www.esri.com/arcgis-blog/products/arcgis-online/sharing-collaboration/how-to-create-a-hosted....

In order to edit your data offline you need to make sure that the data is sync enabled etc. This topic  covers how you can set up your feature data for offline use.

 

I hope that helps,

 

Luke