Create a Sitecore Content Serialization module
Sitecore Content Serialization (SCS) modules enable you to organize and separate serialized items according to their purpose and business domain. Modules also allow you to segment serialized items such as demo and test items that must not be deployed to production environments.
To create an SCS module:
-
In your project folder, create an empty module text file named
<name of module>.module.json. -
Insert the following properties:
jsonProperty Inclusion Purpose namespace Mandatory The namespace of the module. references Optional References to other modules that must be deserialized first (such as templates in a Foundation module). This property supports wildcards (for example: Foundation.*). items Optional Items to be serialized. Configure your item include paths here. -
Save the module file.
-
In the
sitecore.jsonfile, in themodulesproperty, add the path to your module. Alternatively, use wildcards to automatically include modules based on your solution structure:json
If you have suggestions for improving this article, let us know!