[ODK Community] Re: Update data of published forms On server


ODK Aggregate currently does not have a mechanism for replacing data
that is already on the server. The best you can do is to
programmatically create a new form (e.g., my_form_with_edits) and
change the edited instances to match that new form ID, and then
programmatically post that form. See the APIs at
http://opendatakit.org/use/aggregate/data-transfer/#APIs to do that.

I think Commcare HQ (a mostly ODK-compliant server) might have some of
this functionality so perhaps take a look at

The 2.0 generation of tools (currently in alpha at
http://opendatakit.org/use/2_0_tools/) will support bi-directional
synchronization of data across devices (and servers). I don't think
that functionality works well right now though.

Hope that helps,


P.S. If you have more more code-related questions, the dev list is the
best place to send it.

ยทยทยท On Tue, Apr 29, 2014 at 1:08 PM, Hamayun Khan wrote: > Sorry for disturbing you and all the other members, I am so much confused > all around that I even don't make my question good, and that is why I posted > it three times. Sorry you can remove the others > > > On Wednesday, April 30, 2014 12:49:02 AM UTC+5, Hamayun Khan wrote: >> >> I have downloaded all data of my published forms in xml format, I have an >> xml file for each submission, After changing data in an xml file I want to >> resubmit the form through some server code (i.e php etc), Can any one help >> me in this regard. >> >> Thanks > > -- > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "ODK Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to opendatakit+unsubscribe@googlegroups.com. > For more options, visit https://groups.google.com/d/optout.