How does form metadata work in offline setting?

Hi all,

Second of three questions coming up today...I think...

If our collectors don't have network access in the field, how/when does the
form tag with metadata like date, time if we used the automatic functions
in the form ('start', 'end', 'today' etc). Will the date/time read as when
collected, when the device returns to network, or when uploaded to the
server?

Thanks!
Jordan

The preload parameters are determined relative to certain actions on the
form:

start - a blank form is opened (creating a new submission instance)

end - the form is marked-as-finalized.

today() is a function. Each time you open the form, today() is
re-calculated. If you want to remember today() from some given day, you
should wrap it in once() to prevent it being re-calculated.

··· On Wed, Dec 9, 2015 at 1:46 AM, Jordan Levinson wrote:

Hi all,

Second of three questions coming up today...I think...

If our collectors don't have network access in the field, how/when does
the form tag with metadata like date, time if we used the automatic
functions in the form ('start', 'end', 'today' etc). Will the date/time
read as when collected, when the device returns to network, or when
uploaded to the server?

Thanks!
Jordan

--

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

Jordan,

To add to what Mitch said, the time comes from the device time (and
not network or GPS time). Device time isn't guaranteed to be the
actual time (e.g., network time can be wrong, dead battery on device
can reset time), so plan accordingly.

Yaw

··· -- Need ODK consultants? Nafundi provides form design, server setup, in-field training, and software development for ODK. Go to https://nafundi.com to get started.

On Wed, Dec 9, 2015 at 7:04 PM, Mitch Sundt mitchellsundt@gmail.com wrote:

The preload parameters are determined relative to certain actions on the
form:

start - a blank form is opened (creating a new submission instance)

end - the form is marked-as-finalized.

today() is a function. Each time you open the form, today() is
re-calculated. If you want to remember today() from some given day, you
should wrap it in once() to prevent it being re-calculated.

On Wed, Dec 9, 2015 at 1:46 AM, Jordan Levinson jord.levinson@gmail.com wrote:

Hi all,

Second of three questions coming up today...I think...

If our collectors don't have network access in the field, how/when does
the form tag with metadata like date, time if we used the automatic
functions in the form ('start', 'end', 'today' etc). Will the date/time read
as when collected, when the device returns to network, or when uploaded to
the server?

Thanks!
Jordan

--

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

--

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.