How to process xml form data via ODK API

I have downlaoded all submission to ODK form in xml format to my local computer. After then I edited some data and now I want the data to repost to ODK server, HOw I can do this.

I think, you can manual upload data to ODK Aggregate via Form Management ->
Submission Admin.

I hope you can do that.

··· On Wednesday, April 30, 2014 2:44:18 AM UTC+7, hk...@immap.org wrote: > > I have downlaoded all submission to ODK form in xml format to my local > computer. After then I edited some data and now I want the data to repost > to ODK server, HOw I can do this.

Thanks for the reply,

No I don't need to do it manually but I need an automatted process which should run on server (i.e php code, the code will look for all xml files and will post them to Aggregate server.

Regards
Hamayun Khan

··· On Wednesday, April 30, 2014 9:37:20 AM UTC+5, Bunhann Thou wrote: > I think, you can manual upload data to ODK Aggregate via Form Management -> Submission Admin. > > > I hope you can do that. > > On Wednesday, April 30, 2014 2:44:18 AM UTC+7, hk...@immap.org wrote:I have downlaoded all submission to ODK form in xml format to my local computer. After then I edited some data and now I want the data to repost to ODK server, HOw I can do this.

ODK Collect was originally designed for a one-way flow of information from
the device to the ODK Aggregate server.

ODK Aggregate is designed to prevent you from altering or modifying an
existing data record / submission. This allows ODK Aggregate to be your
dataset of record when performing a survey. If you have data that needs to
be corrected or cleansed, we expect you either to download the dataset to a
CSV and make changes locally before processing the data set or publish the
data to Fusion Tables or another downstream service and make the
corrections there.

In these terms, distinct submissions are identified by their instance id.
So if you modify an earlier submission, the only way for it to be submitted
to ODK Aggregate would be to also change and give it a new instance id.

With ODK Collect 1.4.3, there will be new functionality contributed by
SurveyCTO to pre-load data into a survey from, e.g., an earlier baseline
survey. But, the restriction remains on the modification of data on ODK
Aggregate -- new submissions need to have new instance ids.

··· -----------------

If you have filled-in submissions in XML format, you might be able to use
ODK Briefcase to upload them to the server. The ODK Briefcase storage
location directory maintains each submission as a separate XML file. The
directory structure is pretty clear.

Mitch

On Wed, Apr 30, 2014 at 12:14 AM, hkhan@immap.org wrote:

Thanks for the reply,

No I don't need to do it manually but I need an automatted process which
should run on server (i.e php code, the code will look for all xml files
and will post them to Aggregate server.

Regards
Hamayun Khan
On Wednesday, April 30, 2014 9:37:20 AM UTC+5, Bunhann Thou wrote:

I think, you can manual upload data to ODK Aggregate via Form Management
-> Submission Admin.

I hope you can do that.

On Wednesday, April 30, 2014 2:44:18 AM UTC+7, hk...@immap.org wrote:I
have downlaoded all submission to ODK form in xml format to my local
computer. After then I edited some data and now I want the data to repost
to ODK server, HOw I can do this.

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com