Author : Raman Gupta
Sitecore Architect
29/Nov/2020

Raman is a Sitecore Certified Professional with over 6 years of development and implementation experience of Multi-Lingual and Multi-Site architecture design and implementations. He is proficient in project execution using agile methodology as a Scrum master with an expertise in DevOps principles as well.


Sitecore List Manager - A walkthrough of Segmented List from Custom Rules

In the last blog, we discussed about Sitecore List manager module and types of Lists. Using the List Manager, you can create Segment Lists segmented with rules. We can use the rules that Sitecore provides out of the box, also we can create custom rules if required. In this blog, we will discuss about how to create custom rules for segmented list using custom facets.

In this demonstration, we will create custom rule to filter out contacts based on their customer status. For that, we have created a custom facet to capture customer status. Refer to this blog to read more about how to set up custom facet.

Sitecore list manager a walkthrough of segmented list from custom rules1

Create Predicate class:

Creating a predicate class requires creation of a class that is inherited from ICondition and IContactSearchQueryFactory as shown:

IContactSearchQueryFactory – To implement CreateContactSearchQuery method. This method is written if we need to create Segment list custom rule.

ICondition – To implement Evaluate method. This method is written if we need to create Marketing automation custom predicate rule.

Sitecore list manager a walkthrough of segmented list from custom rules2

Create condition descriptor in Sitecore:

In order to create a condition descriptor:

- You need to deploy the custom predicate DLL to all core roles - Content Management, Content Delivery, Processing, and Reporting.

- Choose a location for your condition under

- /sitecore/system/Settings/Rules/Definitions/Elements - for example,

- /sitecore/system/Settings/Rules/Definitions/Elements/XConnect - Contact

Sitecore list manager a walkthrough of segmented list from custom rules3

Configure the Automation engine

This step is required if we want to use the custom rule in marketing automation as well.

To configure the Automation Engine:

- Deploy the custom predicate DLL to the Marketing Automation engine and Marketing Automation Operations service.
( \App_Data\jobs\continuous\AutomationEngine)

- Then, you should create a configuration file with the following XML and further add it to the following paths:
\path\to\xconnect\App_data\jobs\continuous\AutomationEngine\App_Data\Config\sitecore\Segmentation

- Name of the config should start from sc. and end with .xml like this

sc.BennettsSitecore.CustomRules.xml.

Sitecore list manager a walkthrough of segmented list from custom rules4

This is all you need to do for using the new rules to segment a list by custom facet fields in a contact.

After doing all the above configurations, go to list manager and create a new segmented list. Create new segment and add the new custom rule.

Sitecore list manager a walkthrough of segmented list from custom rules5

These are just some basic ideas to start with. If you have not looked at the List Manager, you probably should. It is a valuable addition to the Sitecore marketing suite. If you have any queries or suggestions, reach out to us at marketing@espire.com or connect with me by


MORE FROM OUR BLOGS

Enhanced student experience & engagement for a leading Australian University

With a transition to Ellucian Banner version 9, successfully improved student experience. Facilitated faster data migration with superior testing & provided a 360-degree view of student activities on the platform along with efficient management of student data including assignments, grades, attendance etc

Enhanced customer experience across multiple channels for a leading UK Motorcycle Insurance Company

Deployed marketing automation using Sitecore to deliver personalised & contextual customer experiences across multiple touchpoints

Deployed marketing automation for delivering personalized customer experiences for a Higher Education institute across 3 campuses

Leveraged Sitecore-based marketing automation for delivering personalized user experience across multiple touchpoints, implemented profile cards for more than 3000 pages and ensured accurate user journey mapping on the website

Enhanced customer journey mapping and delivered personalized experience for Australia’s leading vehicle finance corporation

Deployed marketing automation using Sitecore to deliver personalised & contextual customer experiences across multiple touchpoints

Built a highly intuitive e-commerce website for improving customer experience and retention

Created a Sitecore-based e-commerce website which facilitated product management, payment gateway with optimized customer lifecycle and improved user navigation

How to get started with sitecore experience optimization for achieving your cx goals in 2021

Sitecore’s Experience platform capabilities with its marketing automation and experience optimization tools will act as a game changer for brands as they will have a crystal-clear view of their content creation stages right from inception to execution to delivery, for driving higher conversions and customer engagement.

Conversational ai the key differentiator to offer exceptional cx in coming times

The tech-savvy customers of today expect their issues to be resolved with a tap of a button. As a response to this rising need of the customers, most enterprises are turning towards chatbots and deploying conversational AI to address the queries of the customers. Such self- service customer portals improve customer experience and service efficiency

Tips to optimize your customer experience at scale in 2021 and beyond

Businesses world over have adopted a digital-first approach, not just by deploying the state-of-the-art tools and technologies to optimize business functions but also delivering omni-channel experiences for garnering a higher customer lifetime value.

Adopting total experience transformation to tackle business challenges and drive customer loyalty

The concept of delivering enhanced customer experience, the role of multi-experience with the development of IoT devices and advancement in AR/VR domain, has been a popular concept in recent years.

Subscribe To Our Blog

By clicking on "SUBSCRIBE NOW" you acknowledge having read our Privacy Notice.