Install S4S xConnect Models

After extracting the S4S ZIP file, you will see the following folder: \S4S\xConnect Files

To install the S4S models into xConnect, all of the files from this folder must be copied following the same folder structure as the xConnect installation.

For an XP0 instance, copy the files in the individual folders into the corresponding folders in the installation of xConnect.

For a scaled XP1 there are more locations and sites that require you to copy the model files and FuseIT.Personalization.dll file. The XP1 locations are documented in the Sitecore “Deploy a Custom Model” page.

https://doc.sitecore.com/developers/93/sitecore-experience-platform/en/deploy-a-custom-model.html

As per the above document the model needs to be patched into the core Sitecore roles. This can be done using the following example patch file.

<?xml version="1.0" encoding="utf-8" ?> <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> <sitecore> <xconnect> <runtime type="Sitecore.XConnect.Client.Configuration.RuntimeModelConfiguration,Sitecore.XConnect.Client.Configuration"> <schemas hint="list:AddModelConfiguration"> <!-- value of 'name' property must be unique --> <schema name="s4sinfomodel" type="Sitecore.XConnect.Client.Configuration.StaticModelConfiguration,Sitecore.XConnect.Client.Configuration" patch:after="schema[@name='collectionmodel']"> <param desc="modeltype">FuseIT.Sitecore.Personalization.Model.S4SInfoModel, FuseIT.Sitecore.Personalization</param> </schema> <schema name="s4spushvisitormodel" type="Sitecore.XConnect.Client.Configuration.StaticModelConfiguration,Sitecore.XConnect.Client.Configuration" patch:after="schema[@name='collectionmodel']"> <param desc="modeltype">FuseIT.Sitecore.Personalization.Model.S4SPushVisitorModel, FuseIT.Sitecore.Personalization</param> </schema> </schemas> </runtime> </xconnect> </sitecore> </configuration>

Next Step

S4S in Azure PaaS

Steps