Extending the getContact pipeline
Version:
For custom personalization tokens to be replaced in the online Preview mode, extend the getContactpipeline.
Note
This topic applies to Sitecore versions 9.0.1 and later.
To extend the getContact pipeline:
-
Create a new pipeline processor. See example below.
-
Deploy the assembly with your pipeline processor to all CM and DDS instances.
-
Navigate to the
\App_Config\Sitecore\EmailExperiencedirectory. -
Create a configuration patch file, in which you replace the
Sitecore.Modules.EmailCampaign.Core.Pipelines.GetContact.GetContactpipeline processor in thegetContactpipeline in Sitecore.EmailExperience.Core.config file.
The following example illustrates how to extend the getContact pipeline: