I couldn’t find a proper documentation on how to implement choices with select_one_from_file or select_one_external.
I’ve read a lot of posts in this very community forum, about the select_one_from_file feature.
Some of those post are fairly recent, so before trying anything, I upgraded our server to last version (kobo-install 2.020.25).
What I can read everywhere is that feature should works in Enketo.
At the begining of May, I saw many entries saying it’s even working on ODK android’s app (great news, we need that!).
I have absolutely no clue on how to upload the associated CSV files.
I’m not sure if it’s related, but on the official documentation about the pulldata feature, they say: " upload your CSV the same way you would upload your images".
What does this means?
Well, I’m totally puzzled about that feature, if anyone can share some light here, I would greatly appreciate.
OK, I found this article Adding Media to Your Form which explain how to upload an image.
I guess that answers the question I had about how to upload a CSV file, but I still don’t see how to implement this in the context or a multiple choice.
KoBoToolbox is migrating all it’s support article to a new location hence there might be a broken link (for some of our articles). But kindly please be informed that we shall fix this soon. Besides, we would also appreciate if you could point it out in the community forum like you have done for this article.
You could share your xlsform and the csv file with the community and we would help identify and fix the issue for you.
The issue you are seeing here is a known issue and our developers are working on this to fix it. You get this when you have a select_one_from_file question type in an xlsform, upload them in the KoBoToolbox server and edit the survey form in the KoBoToolbox formbuilder UI. To avoid getting this, skip editing the survey project in the KoBoToolbox formbuilder UI. It should not affect your survey project with the select_one_from_file question type.
You could follow our forum post that should help you upload a csv file as discussed here:
Hope i was able to respond to your queries. Kindly please reach us back if there is anything missing.
Good to see the progress. Would you mind trying the same with ODK Collect android app if you intend to use the collect android app as apparently KoBoCollect android app does not support the same. However the upcoming release should support it.
I also tried the solution proposed by @freedim, in the same post, but this is not working too.
I must say I’ve tried a lot of solutions, basically I’ve tested each solution that came to the posts given by the search engine for select_one_from_file;
Again, I don’t use Enketo for now so it’s not a problem for me.
I found all I needed here and done cascading by mixing infos from another post:
I spent a day doing this too.
Kobo seems incompatible with using external csv files for select_one and select_multiple type questions.
I tried it on enketo using the kobo server.
The fruit example got me started on this. But my effort was fruitless
Maybe it works on odk.