Pulldata Function from CSV

Hi All,

I have a list of two columns saved into CSV format file, I followed the
instructions to make it pull from CSV, but it doesn't read anything from
there.

I put the CSV file in ODK/forms with the form xml file, and this is how I
do it:

begin group barcode barcode box_id Scan the barcode of the box now yes end
group calculate items The items inside
the box are: pulldata('barcode_items', 'eitems', 'barcode', ${box_id})
begin group note note contents.note The
contents of this ${box_id} box are: ${items} end group

Hanan,

Assuming your form is /sdcard/odk/forms/myform.xml, the CSV needs to
be in /sdcard/odk/forms/myform-media/whatever.csv.

Yaw

ยทยทยท -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Mon, Aug 31, 2015 at 8:07 AM, Hanan Aqilan hjameelq@gmail.com wrote:

Hi All,

I have a list of two columns saved into CSV format file, I followed the instructions to make it pull from CSV, but it doesn't read anything from there.

I put the CSV file in ODK/forms with the form xml file, and this is how I do it:

begin group barcode
barcode box_id Scan the barcode of the box now yes
end group

calculate items The items inside the box are: pulldata('barcode_items', 'eitems', 'barcode', ${box_id})

begin group note
note contents.note The contents of this ${box_id} box are: ${items}
end group

--

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.