Skip to content

Instantly share code, notes, and snippets.

@michaellwest
Created February 7, 2023 01:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaellwest/87c26d25407b0a8bcfbcabfabedbbdb7 to your computer and use it in GitHub Desktop.
Save michaellwest/87c26d25407b0a8bcfbcabfabedbbdb7 to your computer and use it in GitHub Desktop.
Sample configuration for Sitecore 10.1 using IAR. Adds an additional location that is later included by default in 10.2.
<?xml version="1.0" encoding="utf-8" ?>
<!--
Purpose: Adds in an additional location to load IAR files from
This config can be removed if the project is upgraded to 10.2+ since the path is set ootb
-->
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:role="http://www.sitecore.net/xmlconfig/role/">
<sitecore>
<databases>
<database id="master" role:require="Standalone or ContentManagement">
<dataProviders>
<dataProvider>
<param desc="readOnlyDataProviders">
<protobufItems>
<filePaths>
<filePath name="modules">/sitecore modules/items/$(id)</filePath>
</filePaths>
</protobufItems>
</param>
</dataProvider>
</dataProviders>
</database>
<database id="core" role:require="Standalone or ContentManagement">
<dataProviders>
<dataProvider>
<param desc="readOnlyDataProviders">
<protobufItems>
<filePaths>
<filePath name="modules">/sitecore modules/items/$(id)</filePath>
</filePaths>
</protobufItems>
</param>
</dataProvider>
</dataProviders>
</database>
<database id="web">
<dataProviders>
<dataProvider>
<param desc="readOnlyDataProviders">
<protobufItems>
<filePaths>
<filePath name="modules">/sitecore modules/items/$(id)</filePath>
</filePaths>
</protobufItems>
</param>
</dataProvider>
</dataProviders>
</database>
</databases>
</sitecore>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment