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

Top challenges in customer journey mapping and how to mitigate them in 2021

In the new normal, customer journey mapping has emerged as a pre-requisite for analyzing customer expectations and delivering personalized customer experiences across all touchpoints. Cross-device and multiple-channel access of services has made mapping customer journey a tedious task for businesses.

How espire aced digital experiences amid global pandemic top 10 highlights

2020 was defined not just by unprecedented events and crisis but also by the spirit of survival, agility and resilience. The COVID-19 pandemic disrupted lives, livelihoods and businesses on a global scale. At Espire, our commitment to combat the pandemic with a spirit of unity, agility and resilience has helped our customers, partners and employees with uninterrupted and excellent service delivery - without compromising on health & safety standards.

5 pillars of contextual communications to drive impressive cx and greater customer engagement

In recent times and especially during the pandemic, the phrase ‘content is king’ has caught on like wildfire in the world of marketing but in retrospect, content without context has no value for customers. In simple words, Contextual Communications means that the right message is delivered to the right audience at the right time, using the right channel.

How has the logistics industry reshaped in new normal and roadmap ahead

Logistics industry has been undergoing a rapid boom initiated by globalization and catapulted to new heights by new means of communication and rapid advancement in supply chain technologies. However, the new normal as we face today is shaping the logistics industry in newer ways.

Top 4 benefits of embracing digital transformation in insurance for 2021

With the increase in Insurtech players, tech savvy customers and competitive growth of digital services, digital transformation has become imperative for the insurance industry for both customer acquisition and retention. Eminent insurance providers are utilizing disruptive technology and predictive analysis to examine customer demands and deliver personalized solutions and great customer experience

5 top use cases of digital transformation in 2021

Digital transformation in today’s fast paced digital world with empowered customers has become imminent and can only be achieved through enterprise-wide transformation, design thinking and deployment of cutting edge technology. In this blog, we will present before you the top 5 use cases of digital transformation in 2021.

Maximize your personalization potential with sitecore content profiling

In an era of empowered customers and stiff competition, communicating and delivering products and services to customers in a way they prefer has become essential. Sitecore Profiling offers marketers with tremendous opportunity to know what their customers are looking for and what interests them for a real-time content personalization and customer service, by tagging Sitecore content with defined visitor profiles.

Sitecore list manager a walkthrough of segmented list from custom rules

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.

A comprehensive guide to sitecore list manager going beyond exm

The Sitecore List Manager in most implementation is under-utilized. Sometime marketers are not familiar with real power of Sitecore List manager. The capabilities and potential utility of List Manager even transcends beyond EXM and acts as powerful tool for managing customer segments, when it configured correctly.

Sitecore content profiling simplifying essential steps for marketers

Sitecore profiling offers marketers with tremendous opportunity to know what their customers are looking for and what interests them for a real-time content personalization and customer service by tagging Sitecore content with defined visitor profiles.

Subscribe To Our Blog

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