NuGet package for the admin | |
NuGet package for your MVC project | |
NuGet package for localization |
Xero Code Widgets is an extension for Kentico Xperience 13 that allows marketers to create page builder widgets without code or needing to restart the presentation application.
This repository contains the source code for the admin NuGet, the presentation NuGet, and a supporting NuGet for localization.
Xero Code Widgets is an extension for Kentico Xperience 13 that allows marketers to create page builder widgets without code or needing to restart the presentation application. The extension adds an admin application named Xero code widgets where marketers can create, modify, and delete widgets defined in the database. The extension configures the MVC application to make these widgets available in the page builder.
Marketers can set the name, description, icon, properties, and view of widgets. Properties can use a subset of the available form components and can have a default value, a label, a tooltip, and an explanation. The view is any Razor syntax where the property values are available in @Model.Properties.*
by property name.
Install-Package KenticoXperience.AspNetCore.XeroCode.Widgets.Admin
.Install-Package KenticoXperience.AspNetCore.XeroCode.Widgets
.AddControllersWithViews()
. In the chain after this call, add a call to AddXeroCodeWidgets()
(the extension method is in theKentico.Xperience.AspNetCore.XeroCode.Widgets.Extensions
namespace).services.AddKentico
with an arrow function with a body. If there is no arrow function with a body, define one. In the body, add a call to services.UseXeroCodeWidgets()
.