AnsweredAssumed Answered

write to .geodatabase file

Question asked by jay.kapalczynski on Dec 27, 2019
Latest reply on Jan 3, 2020 by jay.kapalczynski

From my app i can run the below code and it reads my service and puts the points in m my map.  But if I leave the page and come back they are gone as they are temporary

featureTable0.populateFromService(params, true, ["*"]);


I can create a geodatabase file, put that on the mobile device and reference that in my map and that works fine as well...


My question is how do I read the data from a service and write those records to a .geodatabase file that is on the mobile device.  I am doing this outside the sync functionality that comes in examples.


1. Delete all records in the Geodatabase File

2. Query the Feature Service 

3. Write those new records with geometry into my Geodatabase File.


Any ideas?