Konstrukt
Search…
Data Views
Configuring data views in Konstrukt, the back office 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

Data views are defined via the collections configuration.

Adds a data view with the given name and where clause filter expression. Expression must be a boolean expression.
// Example
collectionConfig.AddDataView("Active", p => p.IsActive);

Adds a data view with the given group, name and where clause filter expression. Expression must be a boolean expression.
// Example
collectionConfig.AddDataView("Status", "Active", p => p.IsActive);
Copy link
Edit on GitHub
On this page
Defining data views