If we have the same error message when trying to deploy but that the ODK validate doesn’t show any error, should we assume that its a temporary bug from Kobo and just try later? My form doesn’t seem to have any issue but can’t deploy it. 1. Project and cameras.xlsx (168.9 KB)
Thank you!
Best
@dianedetoeuf, I found out some issues that was affecting your xlsform. I am listing it out here so that it would be a reference for our community having similar issues in the future:
name under the choices sheet should not have a space (B14, B15) in it:
name under the choices sheet does not support - (B267, B268) in it:
Good to have a short name under the choices sheet:
Space not allowed in form _title under the settings sheet, it should be form_title:
relevant expression under the wrong column i.e. relevant expression written under the appearance column:
Thank you so much Kal for spotting all these!! Really appreciate you spent time looking through this. Will know I have to do a better review of my form next time I encounter the same type of error.
I’ve tried with your form (which works) but unfortunately, we can’t keep the Q1, Q2, etc names as we’ve set up a system that uses variable names to automatically insert Kobo data to our online database, and we really need relevant names for database management. I’ve tried shortening them as much as I could, and still not possible to deploy the form. Which is strange because I know I’ve used longer names before on other forms and did not have this issue. Any recommendation? Updated form attached.
OK found the error after renaming one by one each question: the name “model” doesn’t seem to be accepted by Kobo here, however “camera_model” or “Model_of_the_camera” work fine!
Hello @Kal_Lam ,
If “model” is a reserved system name, it would be great to integrate this information in the KoBo documentation (also other reserved words?) and let the Online validator provide an error message, please.
Kind regards
(Some other risky candidates like “type” or “image” work as names at least at the given places. Even “settings” or “choices”, “instance” or “body” as names in survey sheet worked for deployment.)
Kind regards
Thank you @wroos, @dianedetoeuf. I too confirm that the name model affects the deployment of the xlsform. Will share this issue with our team and update if there is anything further.