Sitecore Razl is used to compare two Sitecore databases side by side, highlighting missing or outdated features. With Razl, it is possible to find missing items and move an entire database or a single item.
- A valid Razl license. It can be obtained here.
- A local SitecoreAI project based on the StarterKit template (if connecting to locally-hosted SitecoreAI instances).
To add Razl support to the SitecoreAI environment:
- Download the Sitecore Razl desktop application package. Unzip and install the application.
- Run the Razl Desktop application and register the application.
- Follow the steps to create a connection using a package:
- Connecting Razl to cloud-hosted SitecoreAI instances
- For the Server URL, enter the URL of the CM.
- Click Pick Package Location to open a dialogue to save the Sitecore package to disk. Download and unzip the package.
- Move the /files/_CMP directory from the package to the authoring/platform/ directory of the SitecoreAI project
- Move the /files/bin/HedgehogDevelopment.Razl.Service.dll files to the authoring/platform directory of the SitecoreAI project.
Note: Do not put this file inside authoring/platform/bin - Add the following nodes to the .csproj file:
<ItemGroup>
<Content Include="_CMP\RazlService.asmx" />
<Content Include="_CMP\web.config" />
</ItemGroup>
<ItemGroup>
<Reference Include="HedgehogDevelopment.Razl.Service">
<HintPath>HedgehogDevelopment.Razl.Service.dll</HintPath>
<Private>True</Private>
</Reference>
</ItemGroup>
- Add, commit, push the changes, and restart the CM environment.
- After the deployment, test the connection on Razl.
- Connecting Razl to locally-hosted SitecoreAI instances
- For the Server URL, enter the URL of the local SitecoreAI instance.
- Click Pick Package Location to open a dialogue to save the Sitecore package to disk. Download and unzip the package.
- Copy the _CMP and bin folders from the Sitecore Package’s files folder and add them to the SitecoreAI project repository, in the authoring/platform folder of the local SitecoreAI repository.

Note: Do not copy the _CMP and bin folders that are found in the properties folder. - In the authoring\platform\Platform.csproj file, in the node containing the App_Config includes, add the following nodes:
<Content Include="bin\HedgehogDevelopment.Razl.Service.dll" />
<Content Include="_CMP\RazlService.asmx" />
<Content Include="_CMP\web.config" />
For example:

- Open authoring/XmCloudAuthoring.sln in Visual Studio, and perform publish.

- After publish, continue with the remaining steps defined in create a connection using a package:
Note: If multiple developers are connecting to the same server, make sure the Access GUID is the same for all developers found in the web.config file from _CMP folder that has been added before.