Widgets not showing on page builder

Hosam Abdeltawab asked on August 14, 2020 21:22

I am in the process of adding widgets to my site using kentico 12. I followed the example in https://docs.kentico.com/k12/developing-websites/page-builder-development/developing-widgets-in-mvc/example-developing-a-widget-in-mvc

I added all the controllers, models, properties of both the widget and the inline editor in the appropriate folders. I added the assembly to register the widget. However, the widget isn't showing on the widgets application. Does anyone know what might've went wrong?

Correct Answer

Brian McKeiver answered on August 16, 2020 01:02

Do you have the widget in another assembly? If so, is that AssemblyInfo marked as discoverable via this line of code? In your project properties AssemblyInfo.cs file:

using CMS;
[assembly: AssemblyDiscoverable]
0 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.