Table setup fields
tableName
Table Name exactly.
Use the real source-table name rather than a friendly, translated, abbreviated, or reformatted version.
For example, if the actual source table is:
visible
Important: visible is a navigation setting, not a security control.
A table that is hidden from the table list may still be downloaded and used as reference data.
Use the source database’s permissions to protect sensitive information.
requestColumns
requestColumns defines the fields the app requests and stores locally for the table.
This is the most important field to maintain correctly.
Include every source field required by any app feature that uses the table.
This can include:
- table screens;
- dropdowns;
- multi-select references;
- barcode scanning;
- smart scanning;
- dependent dropdown filters;
- reports;
LOOKUPformulas;- posting values into another form or table;
- reference matching;
- reference display values.
Always include @row.id
Every downloaded table should include:
@row.id is the unique source-row identifier used by the app to keep downloaded rows separate.
It may be hidden from the table screen, but it is still required in the downloaded data.
Id and @row.id are different
Do not treat these fields as interchangeable.
An
Id field does not replace @row.id.
Reference-table columns
When a table is used as reference data, include both:- the value displayed to the user; and
- the value returned or posted when the user makes a selection.