Instance naming (file/folder save name) not working in Collect 1.4.7

Hi everyone,

I'm trying to customize instances and file names in ODK Collect, but can't get it to work. Below are the relevant bits from my form xml.

I'm expecting this to name the instance folder "response" and the instance file "response.xml", but it defaults to the instanceName-not-specified convention of "formName_date_time.

In the instance xml, however, meta/instanceName is "response" as per my calculation. What am I missing?

Can I define the value already within the instance definition? A fixed name would be fine.

Thanks for your help,

Sebastian

...

Perhaps the answer is this simple: perhaps the file and folder names aren't even supposed to follow the instanceName property?

Correct.

The file and folder names need to be created at the moment you select the
blank form (before anything is evaluated), and they need to be retrievable
over the course of filling out the form (during which your instance name
formula may produce different name values); therefore, the file and folder
names cannot depend upon the instance name formula.

··· On Wed, Mar 16, 2016 at 5:10 AM, wrote:

Perhaps the answer is this simple: perhaps the file and folder names
aren't even supposed to follow the instanceName property?

--

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.

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

1 Like