Configure the relative serialization path

Version: 10.2

The Sitecore Content Serialization (SCS) system places content items serialized from a Sitecore instance in the serialization path relative to the module file.

To change the relative serialization path:

  1. Go to your project folder.

  2. Open the sitecore.json file.

  3. Locate the defaultModuleRelativeSerializationPath property:

    RequestResponse
    "serialization": {
      "defaultMaxRelativeItemPathLength": 120,
      "defaultModuleRelativeSerializationPath": "serialization"
    }
  4. Change the value from serialization to the path that you want. You must not exceed the limits of your file system.

  5. Save the sitecore.json file.

Important

If you have already serialized content items from a Sitecore instance to your file system, you must move your content items to the new path.

Do you have some feedback for us?

If you have suggestions for improving this article,