Skip to main content

Filters and role access

queryFilter

queryFilter is an optional source-data filter applied when the table is downloaded. The expression must use the source database’s supported filtering syntax. Use the exact source field names.

No filter

If the table does not require a filter:
  • omit queryFilter; or
  • set it to null.
For example:

Troubleshooting filters

Test a filter against the source database before publishing it. An incorrect filter can make a correctly configured table appear empty. When diagnosing an empty table, avoid changing both the filter and the column configuration at the same time. Isolating one change at a time makes the source of the problem easier to identify.

roleAccess

roleAccess is an optional list of role-specific configuration rules. A role rule can affect:
  • whether the table appears in the table list; and
  • which columns are downloaded for that role.
Each role rule supports: Use only one rule per role. There is no:
  • wildcard matching;
  • partial role matching;
  • case-insensitive matching;
  • closest-role matching.

How role-based columns are calculated

For a user with a matching role rule, the app effectively performs:
The order of operations is:
  1. start with requestColumns;
  2. add the matching role’s addedColumns;
  3. remove the matching role’s hideColumns.

Example

For Field Operators, the effective downloaded columns are:
Email is removed by the role rule.

Important distinction: downloaded vs displayed fields

hideColumns removes a field from the data downloaded for that role. It is not merely a visual table-screen setting. Do not add a field to hideColumns if that field is required by:
  • a dropdown;
  • a scan;
  • a lookup;
  • a report;
  • a dependent filter;
  • a posting action;
  • another component using that table.
A field can be required internally even when users do not need to see it directly on the table screen.

How role-based visibility works

For a user whose role matches a roleAccess rule: If the user’s role does not match any rule, the global visible configuration is used. If the role value is empty or does not match exactly, no role-specific rule is applied.
Last modified on September 7, 2026