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.
In general, when you create a widget designer, you need the following:
For more information, see Create custom designer views.
In some cases, except the client components that you use in your designer markup, you do not have explicit JavaScript dependencies to include in your designer JSON file. In most cases, you may also want to use this designer view as your default one. For example, if you are using the sf-expander client component, you need to create a JSON file that requires the sf-client component.
sf-expander
sf-client
In this case, Sitefinity CMS automatically takes care of the resolution of the of client components' scripts. You do not have to create the JSON file, only to specify the client components and the view priority.
If, however, you create your JSON file following the conventions, Sitefinity CMS will respect it and use it. Note that, if you do not include a client component, but you are using it, this will cause an error and Sitefinity CMS will not automatically take care of it.
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