A view's columns come from its query. The Columns step of the view popup is where you review the list the query returns and set each column's domain, type, key flags, permissions and description. It is the third of the five view steps, after General and Query; for the whole flow, see Views.
There is no add or remove action on this step: the list follows the view's query. To change which columns a view returns, change the query on the Query step. A view with no columns yet shows "No columns defined."
| Cell | What it holds |
|---|---|
| Name | The column name, as the query returns it. It is locked: a view does not rename its columns. |
| Comment | The column description. It is hidden by default; show it from the grid's column menu. |
| Data Domain | The business type. Choosing one sets Data Type; choose Custom to pick the type yourself. |
| Data Type | The storage type. Editable only while Data Domain is Custom and the row is unlocked. |
| PII Source | The source column the column's personal data comes from. The picker searches source columns with a PII domain; the default is None. |
| Permission Group | The groups that can read this column. The admin group is always included and hidden. |
| M | Mandatory: whether this column is required. |
| PK | Primary Key: whether this column is part of the primary key. |
| PC | Partition Column: whether this column is used for partitioning. It stays read-only. |
The domain catalogue and the PII options are shared with table columns; see Define table columns.
The columns toolbar has one action, Recalculate Column Types. It reports Column Types Updated: "Column data types have been recalculated based on the current query."
Column names are locked on the Columns step: a view does not rename its columns. To use other names, change the query on the Query step; the names follow the query.
Data Type is editable only while Data Domain is Custom: pick a domain and its type follows, or choose Custom to set the type yourself. A locked row stays read-only whatever its domain.
No. The list follows the view's query, so the step has no add or remove actions. Change the query on the Query step to change which columns the view returns.
The view's query changed after it was last validated, so the step refuses to save your column changes with Columns not validated. Validate the query on the Query step, then apply your changes.
Some rows are locked. Hover the lock icon next to the row for the reason: "System columns cannot be edited." on a system column, "This row is locked and cannot be edited." on a locked row. On a locked row the editable cells go read-only; PC is read-only on every row.
No. Column order, width and visibility changes are not kept: the grid opens the same way each time, with the Comment column hidden by default.
It reports Column Types Updated: "Column data types have been recalculated based on the current query." If a type still looks wrong, check the Query step: the column list and its types follow the view's query.
They are the three flag cells: M Mandatory (whether this column is required), PK Primary Key (whether this column is part of the primary key) and PC Partition Column (whether this column is used for partitioning). M and PK can be changed on an unlocked row; PC is read-only. The flags appear on Refreshing and Appending views; Standard and Parametrized views show the shorter grid without them.
You can't: the admin group has full access to every column by default. It stays in each column's permission list and is hidden from the picker. The rule is on the Permission Group header tooltip: "The admin group has full access to all columns by default."