IMPORTANT: This version of Sitefinity CMS is out of support and the respective product documentation is no longer maintained and can be outdated. Use the version selector to view a supported product version.
All Sitefinity CMS and Feather widgets have designers where you configure widget properties. This tutorial demonstrates how to create custom designer views for dynamic content MVC widgets. For more information on creating custom designer view for content controls, see Feather: Create custom designer views.
To create a custom view for your widget designer, you need to create a new template file. The file name of this template must have the following naming convention:
~/Mvc/Views/<DynamicContentTypeName>/DesignerView.<ViewName>.<extension>
As <DynamicContentTypeName> you must enter the name of your dynamic content type.
<DynamicContentTypeName>
NOTE: If you have created a dynamic type with name Countries, the folder name must be named with singular form - Country instead of Countries.
<ViewName> is the name of your custom designer view. For example, MyView
<ViewName>
The extension of the template file depends on your view engine – for Razor the valid extension is .cshtml, for WebForms the extension is .aspx.
.cshtml
.aspx
The following image illustrates the folder structure of a custom designer view for a dynamic content type with name Country:
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important