Best way to upload modified data files to Server

Hi,

I have a few xml data files that need a slight modification in their
version. After these have been made, I need to upload these data
files to the server. The data files are stored in a computer. I
tried using ODK Briefcase to pull data from a 'Custom Path to ODK
Directory' but that does not work.

Do I have to upload each data file manually or is there an easier way?

Any suggestions are appreciated!

Thank you,

Sanjeev

The Custom Path is expected to look exactly like the /sdcard/odk/ tree on
the phone.
So you need /sdcard/odk/forms and /sdcard/odk/instances directories to make
this work.
If you have those directories, and a valid form definition in the forms
directory, it should work.

Mitch

··· On Thu, Jun 28, 2012 at 11:03 AM, Sanjeev wrote:

Hi,

I have a few xml data files that need a slight modification in their
version. After these have been made, I need to upload these data
files to the server. The data files are stored in a computer. I
tried using ODK Briefcase to pull data from a 'Custom Path to ODK
Directory' but that does not work.

Do I have to upload each data file manually or is there an easier way?

Any suggestions are appreciated!

Thank you,

Sanjeev

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

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

Hi Mitch,

I was able to pull the form to ODK Briefcase but how do I go about
pulling in all the data associated with the form. We have about 250
xml data files. I am trying to pull in the data using ODK Briefcase
and then either upload it to the server or just export as csv file.

Thanks,

Sanjeev

··· On Jun 28, 3:14 pm, Mitch S wrote: > The Custom Path is expected to look exactly like the /sdcard/odk/ tree on > the phone. > So you need /sdcard/odk/forms and /sdcard/odk/instances directories to make > this work. > If you have those directories, and a valid form definition in the forms > directory, it should work. > > Mitch > > > > > > > > > > On Thu, Jun 28, 2012 at 11:03 AM, Sanjeev wrote: > > Hi, > > > I have a few xml data files that need a slight modification in their > > version. After these have been made, I need to upload these data > > files to the server. The data files are stored in a computer. I > > tried using ODK Briefcase to pull data from a 'Custom Path to ODK > > Directory' but that does not work. > > > Do I have to upload each data file manually or is there an easier way? > > > Any suggestions are appreciated! > > > Thank you, > > > Sanjeev > > > -- > > Post: opendatakit@googlegroups.com > > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > > Options:http://groups.google.com/group/opendatakit?hl=en > > -- > Mitch Sundt > Software Engineer > University of Washington > mitchellsu...@gmail.com

After you pull the data, the individual submissions will be in the .../ODK
Briefcase Storage/forms/formname/instances directory.

You can then modify the instance files as needed (you said you needed to
tweak the version).

Then use ODK Briefcase to Push the data to the ODK Aggregate instance

Mitch

··· On Thu, Jun 28, 2012 at 2:58 PM, Sanjeev Swamy wrote:

Hi Mitch,

I was able to pull the form to ODK Briefcase but how do I go about
pulling in all the data associated with the form. We have about 250
xml data files. I am trying to pull in the data using ODK Briefcase
and then either upload it to the server or just export as csv file.

Thanks,

Sanjeev

On Jun 28, 3:14 pm, Mitch S mitchellsu...@gmail.com wrote:

The Custom Path is expected to look exactly like the /sdcard/odk/ tree on
the phone.
So you need /sdcard/odk/forms and /sdcard/odk/instances directories to
make
this work.
If you have those directories, and a valid form definition in the forms
directory, it should work.

Mitch

On Thu, Jun 28, 2012 at 11:03 AM, Sanjeev swamy.sanj...@gmail.com wrote:

Hi,

I have a few xml data files that need a slight modification in their
version. After these have been made, I need to upload these data
files to the server. The data files are stored in a computer. I
tried using ODK Briefcase to pull data from a 'Custom Path to ODK
Directory' but that does not work.

Do I have to upload each data file manually or is there an easier way?

Any suggestions are appreciated!

Thank you,

Sanjeev

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options:http://groups.google.com/group/opendatakit?hl=en

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

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

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

Hi Mitch,

What I am trying to do is change the id in the xml data so I can
upload the data to a different form. I added the form in the 'forms'
folder and then was able to pull the form in ODK Briefcase using the
'Custom path to ODK directory'. I also need to be able to pull the
data (with the changed id to point to the form) so I can export the
data as csv.

I tried adding the xml data to the instances folder in /sdcard/odk/
instances and /ODK Briefcase Storage/forms/formname/instances but this
didn't work. Any idea what I'm doing wrong? I am able to manually
upload the data to the server but since I can only do one at a time,
it would take a while.

Thanks,

Sanjeev

··· On Jun 28, 6:07 pm, Mitch S wrote: > After you pull the data, the individual submissions will be in the .../ODK > Briefcase Storage/forms/formname/instances directory. > > You can then modify the instance files as needed (you said you needed to > tweak the version). > > Then use ODK Briefcase to Push the data to the ODK Aggregate instance > > Mitch > > On Thu, Jun 28, 2012 at 2:58 PM, Sanjeev Swamy wrote: > > > > > > > > > > > Hi Mitch, > > > I was able to pull the form to ODK Briefcase but how do I go about > > pulling in all the data associated with the form. We have about 250 > > xml data files. I am trying to pull in the data using ODK Briefcase > > and then either upload it to the server or just export as csv file. > > > Thanks, > > > Sanjeev > > > On Jun 28, 3:14 pm, Mitch S wrote: > > > The Custom Path is expected to look exactly like the /sdcard/odk/ tree on > > > the phone. > > > So you need /sdcard/odk/forms and /sdcard/odk/instances directories to > > make > > > this work. > > > If you have those directories, and a valid form definition in the forms > > > directory, it should work. > > > > Mitch > > > > On Thu, Jun 28, 2012 at 11:03 AM, Sanjeev wrote: > > > > Hi, > > > > > I have a few xml data files that need a slight modification in their > > > > version. After these have been made, I need to upload these data > > > > files to the server. The data files are stored in a computer. I > > > > tried using ODK Briefcase to pull data from a 'Custom Path to ODK > > > > Directory' but that does not work. > > > > > Do I have to upload each data file manually or is there an easier way? > > > > > Any suggestions are appreciated! > > > > > Thank you, > > > > > Sanjeev > > > > > -- > > > > Post: opendatakit@googlegroups.com > > > > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > > > > Options:http://groups.google.com/group/opendatakit?hl=en > > > > -- > > > Mitch Sundt > > > Software Engineer > > > University of Washington > > > mitchellsu...@gmail.com > > > -- > > Post: opendatakit@googlegroups.com > > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > > Options:http://groups.google.com/group/opendatakit?hl=en > > -- > Mitch Sundt > Software Engineer > University of Washington > mitchellsu...@gmail.com

You might try using a new briefcase storage location and downloading the
new form definition from your target server, then copying the revised
instances into that directory, and uploading from there (so that you are
definitely not confusing the old and new form definition files and so that
all the namings of the files are correct). It doesn't matter what the
names of the instance folders are; they will be renamed to the instanceID
of the submission after upload.

Mitch

··· On Fri, Jun 29, 2012 at 10:45 AM, Sanjeev Swamy wrote:

Hi Mitch,

What I am trying to do is change the id in the xml data so I can
upload the data to a different form. I added the form in the 'forms'
folder and then was able to pull the form in ODK Briefcase using the
'Custom path to ODK directory'. I also need to be able to pull the
data (with the changed id to point to the form) so I can export the
data as csv.

I tried adding the xml data to the instances folder in /sdcard/odk/
instances and /ODK Briefcase Storage/forms/formname/instances but this
didn't work. Any idea what I'm doing wrong? I am able to manually
upload the data to the server but since I can only do one at a time,
it would take a while.

Thanks,

Sanjeev

On Jun 28, 6:07 pm, Mitch S mitchellsu...@gmail.com wrote:

After you pull the data, the individual submissions will be in the
.../ODK
Briefcase Storage/forms/formname/instances directory.

You can then modify the instance files as needed (you said you needed to
tweak the version).

Then use ODK Briefcase to Push the data to the ODK Aggregate instance

Mitch

On Thu, Jun 28, 2012 at 2:58 PM, Sanjeev Swamy < ssw...@poverty-action.org>wrote:

Hi Mitch,

I was able to pull the form to ODK Briefcase but how do I go about
pulling in all the data associated with the form. We have about 250
xml data files. I am trying to pull in the data using ODK Briefcase
and then either upload it to the server or just export as csv file.

Thanks,

Sanjeev

On Jun 28, 3:14 pm, Mitch S mitchellsu...@gmail.com wrote:

The Custom Path is expected to look exactly like the /sdcard/odk/
tree on
the phone.
So you need /sdcard/odk/forms and /sdcard/odk/instances directories
to
make
this work.
If you have those directories, and a valid form definition in the
forms
directory, it should work.

Mitch

On Thu, Jun 28, 2012 at 11:03 AM, Sanjeev swamy.sanj...@gmail.com wrote:

Hi,

I have a few xml data files that need a slight modification in
their
version. After these have been made, I need to upload these data
files to the server. The data files are stored in a computer. I
tried using ODK Briefcase to pull data from a 'Custom Path to ODK
Directory' but that does not work.

Do I have to upload each data file manually or is there an easier
way?

Any suggestions are appreciated!

Thank you,

Sanjeev

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options:http://groups.google.com/group/opendatakit?hl=en

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

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options:http://groups.google.com/group/opendatakit?hl=en

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

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

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

This is precisely what I'm trying to do. I have a large amount of media files that I'm reducing the dimensions of, but not changing anything else. When I open ODK Briefcase and connect to my aggregate server to PULL, all the forms show up, but when I go to the PUSH tab, 3 of the forms are missing, 2 of which are ones that I've modified the media files, and one I haven't done anything. One of the forms that I modified the media files shows up without issues.

Any thoughts on why the push isn't showing all my forms or how to fix this?

Thanks,

Tyler