Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?xml version="1.0"?>
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:role="http://www.sitecore.net/xmlconfig/role/">
<sitecore role:require="Standalone or ContentDelivery or ContentManagement">
<dataProviders>
<brandProvider role:require="Standalone or ContentManagement" type="Sitecore.Services.Examples.DataProvider.ReadOnlyBrandDataProvider, Sitecore.Services.Examples.DataProvider">
<param desc="targetDatabaseName">master</param>
<param desc="brandTemplateId">{746AAD00-457F-4644-9F28-6C8758FB97C1}</param>
<param desc="brandFolderTemplateId">{85D5B99D-CA7C-45D9-B5C8-23F97FEF5A20}</param>
</brandProvider>
<brandProvider role:require="ContentDelivery" type="Sitecore.Services.Examples.DataProvider.ReadOnlyBrandDataProvider, Sitecore.Services.Examples.DataProvider">
<param desc="targetDatabaseName">master</param>
<param desc="brandTemplateId">{746AAD00-457F-4644-9F28-6C8758FB97C1}</param>
<param desc="brandFolderTemplateId">{85D5B99D-CA7C-45D9-B5C8-23F97FEF5A20}</param>
</brandProvider>
</dataProviders>
<databases>
<database role:require="Standalone or ContentManagement" id="master" singleInstance="true" type="Sitecore.Data.DefaultDatabase, Sitecore.Kernel">
<dataProviders>
<dataProvider patch:before="*[1]" ref="dataProviders/brandProvider" />
</dataProviders>
</database>
<database id="web" singleInstance="true" type="Sitecore.Data.DefaultDatabase, Sitecore.Kernel">
<dataProviders>
<dataProvider patch:before="*[1]" ref="dataProviders/brandProvider" />
</dataProviders>
</database>
</databases>
</sitecore>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.