Sitecore ECM: How to extend personalization

This entry is part 3 of 3 in the series Sitecore ECM: Custom email template from scratch
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)

Check the default subscriber profile by clicking the E-Mail Campaign node and go to the content folder. In the Implementation Details section check the selected profile in the Default Subsciber Profile field. By default this will be Profiles/Subscriber:

Sitecore ECM: How to extend personalization clip image002 thumb

You can find the different profiles in the Profiles folder located at /sitecore/system/Settings/Security/Profiles/Subscriber in the Core database.

The Subscriber profile item is based on the Subscriber template. Open the /sitecore/templates/Modules/EmailCampaign/Subscriber template in the Template Manager and add a custom field called Hobby.

Sitecore ECM: How to extend personalization clip image004 thumb

The hobby field will be added to the profile of the EmailCampaign Subscribers. Go to the User Manager, select a subscriber and click Edit. On the profile tab the hobby field will appear, insert a value into the hobby field.

Sitecore ECM: How to extend personalization clip image005 thumb

Now let’s use the Hobby value to personalize the e-mail message.

There are two ways how you can use these fields within the e-mails. You can type $Hobby$ in a text field or within a richtext area you can select the field in the Insert Field dropdownlist.

Sitecore ECM: How to extend personalization clip image007 thumb1

To have the Insert Field options you need to add the Html Drop Down item to the toolbar of your Rich text profile or you can use the default Message profile by adding /sitecore/system/Settings/Html Editor Profiles/ Message Content to the source field of the rich text field.

Create a new e-mail in the EmailCampaign manager. And add the hobby fields to the E-mail by typing $Hobby$ or selecting hobby from the Insert Field dropdown in the rich text editor.

Sitecore ECM: How to extend personalization clip image009 thumb1

Save the change and close the Editor. Now reload your E-mail in the Message Preview tab and the $hobby$ field will be personalized and show my Hobby surfing.

Sitecore ECM: How to extend personalization clip image010 thumb1

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
Series Navigation<< Sitecore ECM: How to create a e-mail template from Scratch – Part II
Sitecore ECM: How to extend personalization Pieter Brinkman avatarAuthor: Pieter Brinkman ()

Pieter is Technical Marketing Manager for Sitecore Netherlands and owner of Gaatverweg.nl. He has more than ten years experience with software developing in multiple programming languages and with different Content Management Systems. Before joining Sitecore Pieter was a lead developer for multiple Sitecore and .Net projects, he joined Sitecore in 2011 as an Solution Architect in The Netherlands, after two years as an Solution Architect he joined the Technical Marketing department. In the role as Techinical Marketing Manager he is responsible for the Global MVP program and the Sitecore technical branding strategy. You can follow Pieter on twitter: @pieterbrink123 or Google+

Sitecore ECM: How to extend personalization WebsiteSitecore ECM: How to extend personalization TwitterSitecore ECM: How to extend personalization Google PlusSitecore ECM: How to extend personalization Linkedin

Related posts

Sitecore Webinar: Using Sitecore Rocks
Daily Tip: Use the Customized Startbar module
10 reasons to go to Sitecore Symposium
Dutch Sitecore User Group pre-redesign screenshots

5 Responses to Sitecore ECM: How to extend personalization

Comments
Tweets
Pingbacks