Skip to main content
Version: Any 26

Predefined views

A predefined view is an alternative presentation of the contents of a room, prepared by the configurator and offered to the user in the view picker.

In a room, the standard views display a tree built from the metadata values of the existing contents, and nothing else: a value carried by no content does not appear. A view by country based on extended.country, for instance, only shows the countries actually used.

A predefined view lifts that limit: it defines levels matching values not yet carried by any content. Coupled with a metadata inheritance configuration, it eases creation and import: the user browses to the right level and drops their content there, which then inherits the values of that level.

Each view is declared in a module, then attached to the rooms that must offer it.

Configuration​

  • Predefined view definition:
    • Label: name of the view displayed in the view picker. If the field is empty, the name of the module is used.
    • Form: form used to present the metadata of the view.
    • Path: sequence of the metadata that form the levels of the view, from the most general to the finest. It defines the tree browsed by the user. Clicking the field opens the level picker.
  • Rooms using the predefined view: rooms that offer this view.