Can i get a Geodatabase Version Name of a local gdb on android?

4673
3
01-29-2015 08:49 AM
MatheusCarvalho
New Contributor

example : gdb.getVersionName() which return to me something like "Esri_Anonymous_c_1422533666061" ??

 

 

 

i need this parameter to send new Features to the server.

 

Someone can help me ?

0 Kudos
3 Replies
RamaChintapalli
Esri Contributor

Hi Matheus,

Currently as per design, the api does not expose the version name of the local geodatabase. Can you explain in more detail, how you would like to use the version name ? Is it part of your offline download and sync workflows ?

Thanks

Rama

0 Kudos
MatheusCarvalho
New Contributor

Thanks Rama for the answer,
I needed this information to send my data to the ApplyEdits instead of SynchronizeReplica.

I could do this a few months ago.

Thanks for the answer anyway.

0 Kudos
RajeshMane
New Contributor

Dear Rama

We are using ArcGIS Server 10.3 and Android API version 10.2.4 for our Offline editing on versioned layer feature services. We have observed on every download it creates version  as mentioned below.

Esri_Anonymous_S_1437570599703

The issue is all edits are going to save in above mentioned version. Since this version is system generated would be difficult recongnise from which download action it was created.

Can you please highlight something how to find out version name as per download  / Replica. Is there any way to find out version name using ArcGIS API for android / Server side coding.

0 Kudos