For the complete documentation index, see llms.txt. This page is also available as Markdown.

Data Views

Configuring data views in Umbraco UI Builder, the backoffice UI builder for Umbraco.

Data views allow you to define multiple, pre-filtered views of the same data source. This can be useful when entities exist in different states and you want a way to toggle between them.

Data Views

Defining data views

Data views are defined via the collections configuration.

AddDataView(string name, Lambda whereClauseExpression) : CollectionConfigBuilder<TEntityType>

Adds a data view with the given name and where clause filter expression. Expression must be a boolean expression.

AddDataView(string group, string name, Lambda whereClauseExpression) : CollectionConfigBuilder<TEntityType>

Adds a data view with the given group, name and where clause filter expression. Expression must be a boolean expression.

Last updated

Was this helpful?