This page describes how to resolve common errors that you may encounter when working with custom modules.
Problem: You have created, imported or installed a custom module that has its own administration pages, but the module's application is missing in the application list. The problem may also occur with existing custom modules after you create or import a new site.
Solutions:
Open the Modules application in the Xperience administration interface.
Edit your module.
Switch to the Sites tab and assign the module to your sites.
Tip: Alternatively, you can edit your sites in the Sites application and assign modules on the Assigned objects tab.
See also:
Problem: You cannot find custom object types (module classes) in selectors within the administration interface. For example when setting the Object type in the properties of UI elements or the Reference to value in the settings of foreign key class fields.
Solutions:
See also:
Problem: You use modules to run custom initialization code that modifies the functionality of Xperience. However, the customization does not work when testing your live site (presented by a separate MVC or ASP.NET Core application).
Solution: You may need to deploy the assembly containing your module's code to the separate live site application (in addition to the Xperience administration project). This is necessary for any modules that customize the system's live site functionality, or if you wish to display or otherwise use the data of module classes in your live site application.
When deploying the module project to your solution, the Xperience API libraries are available via the Kentico.Xperience.Libraries NuGet package, which is installed in the live site project.