Offline Feature Editing Sample (Beta)

896
2
02-25-2014 01:32 PM
ShiminCai
Occasional Contributor III
Hi there,

What do I need to do to set it up and start it up in offline mode using the *.geodatabase generated by the sample?  Also is it possible to give the geodatabase a name instead of a random number when it is being generated?

Thanks in advance.

Shimin
0 Kudos
2 Replies
YueWu1
by Esri Regular Contributor
Esri Regular Contributor
Hello Shimin,

Basically, you need to prepare two major things:
1. Make sure to generate a geodatabase from a feature service with sync-enabled (Must ArcGIS Server 10.2.1)
2. Add the geodatabase to the app by using three class:
AGSGDBGeodatabase
https://developers.arcgis.com/os-x/api-reference/interface_a_g_s_g_d_b_geodatabase.html

AGSFeatureTable
https://developers.arcgis.com/os-x/api-reference/interface_a_g_s_feature_table.html

and AGSFeatureTableLayer
https://developers.arcgis.com/os-x/api-reference/interface_a_g_s_feature_table_layer.html

I would suggest to read this online documentation:
https://developers.arcgis.com/ios/guide/create-an-offline-map.htm

Currently I don't think you can generate a specific name instead of a string of number.
But also as a reminder, since the offline is still in beta, there are some limitation needs to know:
https://developers.arcgis.com/ios/info/known-limitations.htm

Hope this answer your question.
0 Kudos
ShiminCai
Occasional Contributor III
Hi Nathan,

Thanks a lot for the instructions and document links that I'll study.

Cheers,

Shimin
0 Kudos