Field Views
Configuring field views in Umbraco UI Builder, the backoffice UI builder for Umbraco.
Defining a field view
1. A basic view file for the built in FieldView view component
FieldView view component@model Umbraco.UIBuilder.Web.Models.FieldViewContext
<!-- Insert your markup here -->2. A complete custom view component
// Example
public class MyComplexFieldViewViewComponent : ViewComponent
{
public async Task<IViewComponentResult> InvokeAsync(FieldViewContext context)
{
// Do your custom logic here
return View("Default", model);
}
}The field view context
Setting the field view of a list view field
Last updated
Was this helpful?