I try to generate the list (and detail) view in a new app I’ve developped only for test (named “titular”).
I’ve follow step by step the instructions here:
I’ve created the directory structure by using grunt addtableid:titular
I’ve completed the directory structure, and I’ve generated the titular.xlsx and framework.xlsx files, and placed in the expected folders.
I’ve add the “properties” sheet with the columns and rows as indicated by the refered instructions.
After push the content to my device, I can see the form using Survey, and I can generate instances with no problem. The problem arise when I use Tables: I can access the form, and the list view is well stablished as the default view, but it’s empty; I can select the sheet view, and I can see the instances saved, but If I select the list view, it 's empty (I don’t see anything), and the detail view is no available.
I think the problem arise from the titular_list.html file, automatically generated by grunt: its content is not like expected:
- in the head tag, the row for meta does not exist (perhaps a minor question)
- also in the head tag, I don’t see the script tag rows for commonDefinitions.js, tableSpecificDefinitions.js, odkcommon.js, odkdata.js nor odkTables.js; nevertheless, I see other script tag rows that I don’t expect, and probably are causing the problems (I leave the “<” and “<” simbols at the beginning and at the end, to let the rows be showed):
First at all, the folder “…/…/…/framework/tables/js/” does not exist … I think the framework folder are inside the assets folder, so the address are not correctly defined.
Second, the files control.js and data.js does not exist, and they are not referenced in all the docs file… or at least, I’ve not find anything from its.
Thanks in advance!!