Maker guide
Designing views
Choose a view's columns, headings, filter and sort, and see its table as you go.
Views has the view editor and, below it, the view's table, so you see the result as you build it. Read Views for what a view is.
Making a view
- Press New view (or choose a view in the list to change it) and give it a name: 1–100 letters, digits,
.,-and_, starting with a letter. - Give it a display name and an optional description. The portal shows the display name in its View list.
- Choose the perspective.
- Tick the fields to show as columns. Drag them into order (or Alt+↑ / Alt+↓), and give any of them a
heading of its own.
_createdand_modifiedcan be columns too. - Optionally set a filter, which always applies:
creditLimit > 0 & city = 'Leeds'. It uses the query language over the perspective's fields. - Set the default sort:
-creditLimit, lastNamesorts by credit limit, highest first, then by last name. - Set the rows per page, 1–1,000.
- Save.
The table
Under the editor, the table shows the view's rows:
- The header's search box searches it. Every word typed must appear in one of its Text columns.
- Click a heading to sort by that column; click again to reverse.
- Page through it with the footer.
- A relationship column (such as Manager) shows the name of the entity it refers to, not its id.
Problems
If the view no longer fits its perspective (a field it shows was removed from the perspective, for example), the table is replaced by the list of problems. Fix them and Save again; until then the view doesn't run anywhere.
Tips
- Put the columns people search by (names, numbers, emails) in the view as Text fields: search only looks in Text columns.
- Sub-grids and lookups use a view's columns, filter and order. Make small views for them, such as
orders-short. - The first view of a perspective, by name, is the one the portal opens first.