Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Briefcase
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  15 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Andrew Faust  
View profile  
 More options Sep 28 2012, 11:47 am
From: Andrew Faust <afa...@ncwrpc.org>
Date: Fri, 28 Sep 2012 08:47:59 -0700 (PDT)
Local: Fri, Sep 28 2012 11:47 am
Subject: Briefcase

Aggregate 1.2.0, Briefcase 1.2

I have Aggregate running on a local server.  I can pull records from the
server using Briefcase.  I then want to update the form.  I am not changing
any of the database structure.  Then I want to push those records back to
the form on the server.  I can not seem to get this to work?

Andy


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
W. Brunette  
View profile  
 More options Sep 28 2012, 12:35 pm
From: "W. Brunette" <wbrune...@gmail.com>
Date: Fri, 28 Sep 2012 09:35:14 -0700
Local: Fri, Sep 28 2012 12:35 pm
Subject: Re: [ODK Community] Briefcase

Aggregate 1.2 allows you to update the form. Aggregate checks the form to
make that nothing has changed that would cause problems in the database. If
Aggregate doesn't reject the form then there is no need to use briefcase to
accomplish form changes. If Aggregate rejects the change you are most
likely changing something that will cause database issues.

Waylon


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrew Faust  
View profile  
 More options Sep 28 2012, 1:23 pm
From: Andrew Faust <afa...@ncwrpc.org>
Date: Fri, 28 Sep 2012 10:23:15 -0700 (PDT)
Local: Fri, Sep 28 2012 1:23 pm
Subject: Re: [ODK Community] Briefcase

So that I am clear if I update the form and do not change the
database structure I will not lose any existing records that are currently
on the server.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
W. Brunette  
View profile  
 More options Sep 28 2012, 2:16 pm
From: "W. Brunette" <wbrune...@gmail.com>
Date: Fri, 28 Sep 2012 11:16:34 -0700
Local: Fri, Sep 28 2012 2:16 pm
Subject: Re: [ODK Community] Briefcase

Yes that is correct. Aggregate should reject any form that does not match
it's current database store (if an ID already exists).

It's always a good idea to back up your data anyway; however, you can
upload a revised form and Aggregate will check whether it can accept it or
not.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrew Faust  
View profile  
 More options Sep 28 2012, 2:25 pm
From: Andrew Faust <afa...@ncwrpc.org>
Date: Fri, 28 Sep 2012 11:25:55 -0700 (PDT)
Local: Fri, Sep 28 2012 2:25 pm
Subject: Re: [ODK Community] Briefcase

I tried this and it does not work.  You are correct it is rejected if the
form ID already exists.  So if I update the form to a new form ID it adds
it to the server.  How do I update an existing form.  Sorry I just do not
follow.  The only way to do it is to delete the form and add it again.  If
I do this my data will be gone.

Thanks
Andy


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
W. Brunette  
View profile  
 More options Sep 28 2012, 3:24 pm
From: "W. Brunette" <wbrune...@gmail.com>
Date: Fri, 28 Sep 2012 12:24:31 -0700
Local: Fri, Sep 28 2012 3:24 pm
Subject: Re: [ODK Community] Briefcase

Aggregate has detected a change in your form that will affect the database.
Therefore it's rejecting it as it thinks it should be a new form not an
update to the original form.

Waylon


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
W. Brunette  
View profile  
 More options Sep 28 2012, 3:25 pm
From: "W. Brunette" <wbrune...@gmail.com>
Date: Fri, 28 Sep 2012 12:25:45 -0700
Local: Fri, Sep 28 2012 3:25 pm
Subject: Re: [ODK Community] Briefcase

My guess is you changed something in the bindings that would affect the
database definition.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrew Faust  
View profile  
 More options Sep 28 2012, 3:37 pm
From: Andrew Faust <afa...@ncwrpc.org>
Date: Fri, 28 Sep 2012 12:37:18 -0700 (PDT)
Local: Fri, Sep 28 2012 3:37 pm
Subject: Re: [ODK Community] Briefcase

The only thing I change was adding something to the cascading selects.  And
updated a hint.  So you are telling me that if I did not change the
database the form should have the same form ID should overwrite and update
the existing form and keep my data records????

Andy


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
W. Brunette  
View profile  
 More options Sep 28 2012, 3:44 pm
From: "W. Brunette" <wbrune...@gmail.com>
Date: Fri, 28 Sep 2012 12:44:38 -0700
Local: Fri, Sep 28 2012 3:44 pm
Subject: Re: [ODK Community] Briefcase

Yes, that is correct that feature was added in Aggregate 1.2 (it was
actually a patch contributed by a member of the community):

http://code.google.com/p/opendatakit/wiki/AggregateReleaseNotes
From 1.2 release notes:
"Form definition files and media attachments can now be altered and those
changes uploaded to the ODK Aggregate server. The server still maintains
only one version of the form, and all alterations must not affect the
number of questions in the form or change the data type of any field (e.g.,
from int to decimal or string, etc.). "

We worked with the community member to be extremely strict on what is
allowed because we did not want to have the possibility of the database
getting messed up because we know how important everyone's data is.

It maybe something with the cascade changes that we did not anticipate but
if the change has database implications then it's doing it's job. The hint
should definitely have not affect, not sure about the cascading selects did
anything change in the bindings section?

Waylon


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrew Faust  
View profile  
 More options Sep 28 2012, 3:51 pm
From: Andrew Faust <afa...@ncwrpc.org>
Date: Fri, 28 Sep 2012 12:51:21 -0700 (PDT)
Local: Fri, Sep 28 2012 3:51 pm
Subject: Re: [ODK Community] Briefcase

OK I will keep working on it to see what I can come up with.  No new fields
were added to the database, just another select in the cascading selects.
 Oh well.

Andy


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
W. Brunette  
View profile  
 More options Sep 28 2012, 3:53 pm
From: "W. Brunette" <wbrune...@gmail.com>
Date: Fri, 28 Sep 2012 12:53:46 -0700
Local: Fri, Sep 28 2012 3:53 pm
Subject: Re: [ODK Community] Briefcase

An easy test would be to download the form then reupload the same form.
Aggregate should allow that.

Waylon


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christopher Robert  
View profile  
 More options Sep 28 2012, 3:54 pm
From: Christopher Robert <Christopher_Rob...@hks.harvard.edu>
Date: Fri, 28 Sep 2012 15:54:21 -0400
Local: Fri, Sep 28 2012 3:54 pm
Subject: Re: [ODK Community] Briefcase

Andy,

See the discussion of cascading-selects and versioning here:

http://opendatakit.org/help/form-design/cascading-selects/

Also, this subject was discussed here:

https://groups.google.com/forum/#!msg/opendatakit/qeyRcfrs1pU/z9skGE6...

From my read, certain types of cascading-select changes should be allowed.
Are you sure, though, that you are using the versioning properly (i.e.,
including the version and bumping it up for the new version)? Again,
there's more on this in the first link above.

Best,

Chris


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrew Faust  
View profile  
 More options Sep 29 2012, 8:56 am
From: Andrew Faust <afa...@ncwrpc.org>
Date: Sat, 29 Sep 2012 05:56:35 -0700 (PDT)
Local: Sat, Sep 29 2012 8:56 am
Subject: Re: [ODK Community] Briefcase

OK after reading the links from Chris I found my problem.  My XML form was
missing the version line after the form ID.  The form was created using
XLSForm.  I did not know that this line was needed.  Once I added it to the
XML form work fine.  Not sure if this is an issue with XLSForm and
cascading selects?  Or just something that has not been updated since
cascading selects is something fairly new.

As always thanks again for everyone's help

Andy


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christopher Robert  
View profile  
 More options Sep 29 2012, 10:06 am
From: Christopher Robert <Christopher_Rob...@hks.harvard.edu>
Date: Sat, 29 Sep 2012 10:06:30 -0400
Local: Sat, Sep 29 2012 10:06 am
Subject: Re: [ODK Community] Briefcase

Andy,

I'm very happy to hear this! In fact, the latest XLSForm allows a version
column in the settings worksheet; the first row should be "version"
(without the quotes) and the second row should have the numeric version
code. That way, you don't have to hand-edit the XML.

Best,

Chris


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrew Faust  
View profile  
 More options Sep 29 2012, 6:09 pm
From: Andrew Faust <afa...@ncwrpc.org>
Date: Sat, 29 Sep 2012 15:09:19 -0700 (PDT)
Local: Sat, Sep 29 2012 6:09 pm
Subject: Re: [ODK Community] Briefcase

maybe the sample xls file on the website should be updated to reflect this
change?

Thanks


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »