Sitefinity CMS comes with a set of built-in widgets, which can be directly used in the pages you create. Such widgets are the News, Image gallery, and Video gallery. Widgets allow you to display the content you create and configure how you want your content displayed.
Apart from Sitefinity’s built-in widgets, you can also create your own widgets and use them side by side with the default ones. That is, implement new widget to specifically serve your business case needs and functionality requirements by implementing your own custom logic.
You can create a new:
Yes
For more details about the different types of widgets, see Overview: Types of widgets.
When implementing a new widget, the general steps you follow are:
Depending on the type of new widget you create, the new widget you create in Visual Studio and the registration process are different. In addition, implementing the markup and the logic of the new widget are specific for each widget. NOTE: When you develop widgets for Sitefinity CMS, the system imposes no special requirements. You can use widgets created for other systems by including them in the Sitefinity CMS toolbox.
To subscribe to:
The reason is when you subscribe to events, the lifecycle of the Sitefinity CMS application is modified. Therefore, if you attempt to subscribe to an event through the .ascx file, the event will not fire.
To access the data in the application, your new widget must also be able to communicate with the existing modules in the Sitefinity CMS application. This is achieved by using either the Fluent API or the Native API.
Your widget can also be data independent. An analog clock widget, which displays the current time, is an example of such widget.
For more information, see:
By default, each widget in Sitefinity CMS toolbox has a property editor, which allows the widget to be customized. It includes all of the public properties that are exposed by the widget. You can also replace the property editor with a widget designer. For more information about the widget designers, see Overview: Widget designers.
To use a widget that is not part of the Sitefinity CMS toolbox, you must register it. To register a widget, you need to:
You can also refer to a number of tutorials in Tutorials: Create widgets.
Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.
This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.
This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.
The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important