enketo / enketo-legacy

The OLD app that started the Enketo revolution. An offline-capable web survey application that is compatible with OpenRosa XForm-derived format and compliant servers.
https://enketo.org
Apache License 2.0
21 stars 26 forks source link

Add ability to import exported data #270

Open MartijnR opened 10 years ago

MartijnR commented 10 years ago

Fairly complex, but do-able with current export file that includes timestamps for each draft and final record

MartijnR commented 10 years ago

probably best to remove the timestamps and instead use a format that ODK Briefcase likes. We should use only instanceID to protect against duplicates and let the user decide. It would be nice to add a timestamp but if this throws of ODK Briefcase, it's probably not worth.

The only thing we should add to an exported record is whether it's status is 'draft'. Need to look into how ODK Collect marks draft records. If this is a problem we could [1] automatically switch any imported record to 'draft'.

Other considerations:

MartijnR commented 10 years ago

makes a lot of sense to implement #307 at the same time since this will make exports actually useful