In the context of Structr’s schema, the basic concept View is used to group a set of attributes.

Built-in Views

Built-in views are provided by Structr itself and can only be added to. The following built-in views exist:

public Default view to be used if no view is requested explicitely. Contains at least id and type.
protected User-definable view, typically used to provide an extended set of attributes to authenticated users
ui View including most of the attributes, used mainly by the UI components in the admin backend (e.g. Data section)
html View including all HTML attributes
all System view containing all attributes. Caution: Handle with care, could yield very large result sets!

In the Schema Editor, you can add more views and assign attributes to existing or custom views. Views defined that way can be append to any REST query or used in internal queries to filter attributes.


Related Articles
About this article
Last change 2017-05-04
Topics Structr 2.0