Sitecore 9.0.1
I've tried to create a new site definition that's associated with a custom publishing target database.
I have the database registered, publishing targets built, content completely published however I'm tracking an inability for the site to render placeholders. I just get a blank page with the layout markup on it like the placeholders didn't exist.
The tricky part is that if i jump into the site.config and modify it to use the "web" database and jump into the connection strings and switch the names of the web and custom database then it works perfectly. This leads me to believe it's not the database itself.
My assumption is that i'm just missing some wireup in Sitecore, but i'm not sure what.
Here is my Site and Database definition along with my attempt to wire everything up for my new database. Any suggestions would be welcome.
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
<sitecore>
<sites>
<site name="tenantcom.tenant.com"
patch:before="site[@name='website']"
hostName="*.tenant.com"
enableTracking="true"
virtualFolder="/"
physicalFolder="/"
rootPath="/sitecore/content/tenantCom Tenant"
startItem="/tenantCom"
language="en"
database="tenantcomlive"
domain="extranet"
allowDebug="true"
cacheHtml="true"
htmlCacheSize="50MB"
registryCacheSize="0"
viewStateCacheSize="0"
xslCacheSize="25MB"
filteredItemsCacheSize="10MB"
enablePreview="true"
enableWebEdit="true"
enableDebugger="true"
disableClientData="false"
cacheRenderingParameters="true"
renderingParametersCacheSize="10MB"
enableItemLanguageFallback="false"
enableFieldLanguageFallback="false"
itemwebapi.mode="Off"
itemwebapi.access="ReadOnly"
itemwebapi.allowanonymousaccess="false" />
</sites>
<databases>
<database id="tenantcomlive" singleInstance="true" type="Sitecore.Data.DefaultDatabase, Sitecore.Kernel" >
<param desc="name">$(id)</param>
<icon>Images/database_web.png</icon>
<securityEnabled>true</securityEnabled>
<dataProviders hint="list:AddDataProvider">
<dataProvider ref="dataProviders/main" param1="$(id)">
<disableGroup>publishing</disableGroup>
<prefetch hint="raw:AddPrefetch">
<sc.include file="/App_Config/Prefetch/Common.config" />
<sc.include file="/App_Config/Prefetch/Webdb.config" />
</prefetch>
</dataProvider>
</dataProviders>
<PropertyStore ref="PropertyStoreProvider/store[@name='$(id)']" />
<remoteEvents.EventQueue>
<obj ref="eventing/eventQueueProvider/eventQueue[@name='$(id)']" />
</remoteEvents.EventQueue>
<archives hint="raw:AddArchive">
<archive name="archive" />
<archive name="recyclebin" />
</archives>
<cacheSizes hint="setting">
<data>100MB</data>
<items>50MB</items>
<paths>2500KB</paths>
<itempaths>50MB</itempaths>
<standardValues>2500KB</standardValues>
</cacheSizes>
<Engines.DataEngine.Commands.AddFromTemplatePrototype>
<obj type="Sitecore.Buckets.Commands.AddFromTemplateCommand, Sitecore.Buckets" />
</Engines.DataEngine.Commands.AddFromTemplatePrototype>
</database>
</databases>
<eventing defaultProvider="sitecore">
<eventQueueProvider defaultEventQueue="core">
<eventQueue name="tenantcomlive" type="Sitecore.Data.Eventing.$(database)EventQueue, Sitecore.Kernel">
<param ref="dataApis/dataApi[@name='$(database)']" param1="$(name)" />
<param ref="PropertyStoreProvider/store[@name='$(name)']" />
</eventQueue>
</eventQueueProvider>
</eventing>
<PropertyStoreProvider defaultStore="core">
<store name="tenantcomlive" prefix="tenantcomlive" getValueWithoutPrefix="true" singleInstance="true" type="Sitecore.Data.Properties.$(database)PropertyStore, Sitecore.Kernel">
<param ref="dataApis/dataApi[@name='$(database)']" param1="$(name)" />
<param resolve="true" type="Sitecore.Abstractions.BaseEventManager, Sitecore.Kernel" />
<param resolve="true" type="Sitecore.Abstractions.BaseCacheManager, Sitecore.Kernel" />
</store>
</PropertyStoreProvider>
<scheduling>
<!-- Agent to cleanup obsolete File Drop Area field media data -->
<agent type="Sitecore.Tasks.CleanupFDAObsoleteMediaData" method="Run" interval="1.00:00:00">
<databases hint="raw:AddDatabase">
<database name="tenantcomlive"/>
</databases>
</agent>
</scheduling>