Configure module globs

Abstract

How to configure module globs in Sitecore Module Explorer.

The search paths used to locate your modules are called module globs. You must configure the module globs for Sitecore Content Serialization to find them. Typically, a solution has a file system structure like the following:

├───.sitecore
└───src/
    ├───BasicCompanyBuild/
    ├───BasicCompanyItems/
    │   └───BasicCompanyItems.module.json
    │   └───serialization/
    ├───Feature/
    │   └───BasicCompany/
    │       ├───Accordion
    │       ├───HeroBanner
    │       ├───PromoCard
    │       ├───PromoContainer
    │       └───SectionHeader
    ├───Foundation/
    │   └───Navigation
    ├───ProjectItems/
    │   └───ProjectItems.module.json
    │   └───serialization/
    └───Sitecore.RenderingHost.Helpers/

To configure module globs:

  1. In Sitecore Module Explorer, double-click Sitecore Configuration Root.

    Illustration showing the Sitecore Configuration Root form.
  2. In the Sitecore Configuration Root window, edit the following:

  3. Save the Sitecore Configuration Root.