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

  1. 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.
  2. Give it a display name and an optional description. The portal shows the display name in its View list.
  3. Choose the perspective.
  4. Tick the fields to show as columns. Drag them into order (or Alt+↑ / Alt+↓), and give any of them a heading of its own. _created and _modified can be columns too.
  5. Optionally set a filter, which always applies: creditLimit > 0 & city = 'Leeds'. It uses the query language over the perspective's fields.
  6. Set the default sort: -creditLimit, lastName sorts by credit limit, highest first, then by last name.
  7. Set the rows per page, 1–1,000.
  8. Save.
The view editor, with the All orders view chosen.
The view editor
A view's perspective, columns and headings, filter, sort and page size.

A view's perspective, columns and headings, filter, sort and page size.

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.
The view's table. The Customer column is a relationship column, so it shows each customer's name.
A view's table
The view's table under the editor, with the customer's name shown for the relationship column.

The view's table under the editor, with the customer's name shown for the relationship column.

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.