Patch the Sitecore Protobuf Filepath locations to look at module items (useful for Sitecore 10.1)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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