Create widget designers
Overview
Sitefinity CMS provides enhanced user experience for working with custom ASP.NET Core and ASP.NET MVC widgets. By default, Sitefinity CMS detects the types of the public properties that you define in the code of the widget and automatically generates the widget editor with the respective fields.
The widget editors support the following:
- Editing the properties through more user-friendly, type-specific field editors
- Grouping properties in section and views
- Validating the user input
- Conditionally displaying fields, depending on custom requirements
In Sitefinity CMS, the autogenerated widget designers for the ASP.NET Core and .NET MVC widgets are based on a common framework, which is extracted into the Progress.Sitefinity.Renderer assembly . This assembly holds all the common types and attributes to help you customize autogenerated widget designers for both frameworks.
Process
Following is a general process of widget creation:
- You first decide which fields you want to include in the widget.
- Then, you can customize the fields, using the desired attributes.
- You can impose field validations, if required.
- You distribute the fields into sections or views.
- You can make some fields to be displayed conditionally.
- Finally, Sitefinity generates the fields in your widget designer.
This section contains
Want to learn more?
Enhance your Sitefinity skills by enrolling in free training sessions. Become Sitefinity certified through Progress Education Community to strengthen your professional credentials.
Get started with Integration Hub | Sitefinity Cloud
This free lesson teaches administrators, marketers, and other business professionals how to use Sitefinity Integration Hub to create automated workflows between Sitefinity and other business systems.
Web Security for Sitefinity Administrators
This free lesson teaches administrators the basics about protecting your Sitefinity instance and your sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.
Foundations of Sitefinity ASP.NET Core Development
The free on-demand video course teaches developers how to use Sitefinity ASP.NET Core and take advantage of its decoupled architecture and modern development model.