AI agents: the content index is at /llms.txt. Every page is also available as Markdown — send the request header Accept: text/markdown, or append .md to the page URL.
Xperience Docs

Cookie consent

We use necessary cookies (opens in a new tab) to run our website and improve your experience while browsing. Additional cookies are only used with your consent. You may revoke your consent on the Cookies Policy (opens in a new tab) page or in your browser at any time.

Configure (opens in a new tab)
  • Documentation
    InstallationUsing the Xperience interfaceDeveloping websitesConfiguring XperienceManaging usersSecuring websitesDeploying websitesManaging website contentMultilingual websitesMacro expressionsExternal utilitiesIntegrating 3rd party systemsCustom developmentE-commerce featuresOn-line marketing featuresRelease notes - Xperience 13Xperience terminology glossary
  • Tutorial
    Using the Xperience interfaceDeveloper tutorialBusiness tutorialResource hub for marketers
  • API Examples
    ConfigurationContent managementDevelopmentE-commerceOn-line marketingSocial media
  1. Home
  2. Custom development
  3. Creating custom modules
  4. Troubleshooting custom modules

Troubleshooting custom modules


Was this page helpful?

Send us feedback Go back to top
  • Community Questions & Answers (opens in a new tab)
  • Contact support (opens in a new tab)

This page describes how to resolve common errors that you may encounter when working with custom modules.

Modules missing in the application list

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:

  • You may need to reload the entire Xperience administration page in your browser, including the header section.
  • Make sure the module is assigned to the currently active site:
    1. Open the Modules application in the Xperience administration interface.

    2. Edit your module.

    3. 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.

  • For users without the Administrator or Global administrator privilege level, you may need to ensure that the module has the Read permission defined and that the user has the given permission assigned.

See also:

  • Creating custom modules
  • Configuring permissions

Custom object types (classes) missing in selectors

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:

  • If you are the developer of the custom module, make sure that you have generated the Info, IInfoProvider and InfoProvider code for the class. You also need to include the code files into the project in Visual Studio and rebuild the solution.
  • If your module code files are placed in a separate library, you need to allow the system to detect the classes. Make sure class discovery is enabled for the project – see Adding custom assemblies.
  • You may be missing the resource string representing the given object type name. If the resource string does not exist, the object type is available under the default name in format: ObjectType.<class code name with an underscore>

See also:

  • Creating custom modules
  • Creating custom binding classes
  • Adding references between classes

Module customizations not working on the live site

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.

On this page

  • Modules missing in the application list
  • Custom object types (classes) missing in selectors
  • Module customizations not working on the live site