Skip to content

Edit a record page

Arrange a type’s record page so people can read its fields and related records together. You need Model authoring and an open draft. These changes affect the draft; people see them after its release is activated in their workspace.

See Record pages and tables for the page a type gets before you arrange it.

  1. In the model editor, select the type in its application and choose Preview.
  2. Choose Edit layout, then Record page. The layout shows Main and Side regions with frames for panels and fields.
  3. If the type has no declared page, choose Declare its page first. This saves the generated page as a draft step so you can edit it. It includes Details, hierarchy where applicable, contained records and a panel for each relationship.

Record layout with panels and field frames in Main and Side

If the draft has errors, use Show issues and correct them before opening the layout. For help choosing a workspace and record, follow Preview a type.

  1. At the foot of Main, choose Add panel…, beside New field group.
  2. In Add panel, choose What the panel shows:
    • Related records lists the records reached through one relationship. It is offered when this type has relationships other than containment.
    • Contained records lists records inside the open record. It is offered only when the type contains types that this application lists. Select at least one Contained types choice.
    • Fields creates a group of this type’s fields. Select Fields; chosen fields move from their current groups into the new one.
  3. For Related records, select Relationship. The names read from this type’s side of the relationship, including relationships pointing towards it. (on the page) means an existing panel already lists that relationship; it does not prevent another panel. Read the Columns: line beneath the choice to see the columns the new panel gets.
  4. Choose Region: Main or Side. Review Title. For related or contained records, it starts from your choice and you can change it. For a field group, enter a title.
  5. Choose Add panel. The panel appears in the chosen region as one draft step. Use Undo if it was not what you wanted. Adding the panel does not create or change records.

Add panel with a relationship chosen, its proposed columns, region and title

Above: a Stop page in the guide’s Graubünden model, with Is represented by system code chosen. The proposed columns include Name, System, External code and Description.

An existing page keeps its arrangement. To give an older page separate panels for its relationships, add each one here rather than expecting Declare its page to replace it.

  1. Open the menu of a related-record, contained-record or table panel and choose Columns….
  2. Select Name and the fields you need. Under Where it sits, select a containing type to show the containing record’s name. This can be an ancestor further up the hierarchy, not just the immediate parent. Type is also offered when the panel lists several types.
  3. Choose Apply and inspect the column frames. Keep at least one column.
  4. On a related-record panel whose menu offers Sort…, choose it, select Sorted by and choose Save. The choices come from the panel’s allowed sort fields.

Panel Columns dialog with containing types under Where it sits

Above: the Name translations panel on a Stop page offers its own columns under Columns and Language under Where it sits. It shows each translation’s language name. To show a field of that language, such as Language code, use a table’s related-field columns instead. Fields stored on the relationship itself cannot be columns.

  1. Open a panel’s menu. Move up, Move down and Move to Main or Move to Side change its position. A grip can also drag it within a region or into the other region. On a phone, or with a keyboard, use the menu.
  2. Choose Rename… to change Title. Hide keeps a panel in the layout but hides it from the record page; Show restores it. Remove from page takes it off the page, with Undo available afterwards. Stored records and values remain.
  3. For a field, use Move up, Move down or Move to … to place it in a field group. Remove from panel takes it off that group. Dragging a field onto another group or field is another way to move it.
  4. To make a field group in Main, choose New field group, give it Title and select Fields. Choose Apply in the popover. Selected fields move into it from their current positions. To add an omitted field to an existing group, use its Add fields… menu and select from Fields not on the page. This does not create a new field definition.

Panel menu with ordering, visibility and field actions

Return to preview and inspect a populated record and an empty record. Check the page with records that have different relationships or parents. Review Issues before installing and activating the release. If an action shows Not applied, it has changed nothing: read the reason, correct the choice and try again.

  1. In Record page, choose Header and breadcrumbs….
  2. Select Title of the record from Name or an attached field. Line under the title adds a second field; choose None to remove it.
  3. Choose Show the type’s name in the header as needed. Breadcrumbs name the type also shows the type in the header; Breadcrumbs name the records above it shows parents in the line above the title. That line starts with the list link when opened from a list, without an application entry. These choices do not change a record’s parent or name.
  4. Choose Save and inspect the preview with a record that has parents. Undo restores the saved step.

Record page Header and breadcrumbs dialog

  1. Open the panel’s menu and choose Settings…. Fields groups have no extra settings.
  2. For related records, select Relationships listed and Listed from. Choose This record to the others, The others to this record, or Both ways. Tick Show which relationship joins each record when one panel combines several meanings.
  3. Select Fields a reader can sort by if people need a sort menu. Leaving these unchecked lists related records by name. A default sort no longer in the list moves to the first remaining choice, or is cleared when the list is empty.
  4. For hierarchy, set Show the parent and Show the records above the parent. For a contained-record or table panel, choose Rows on a page. A table also offers List only the records under this one; clear it only when the page should show that type’s records beyond the open record’s direct children.
  5. Choose Save and review columns, sorting and Issues. Changing settings does not rewrite stored connections. A panel with no matching records is empty; check its direction and selection before concluding that data is missing.

Related-record panel Settings with relationship selection, direction and sort fields