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

Delivering Consistent And Compelling Customer Communication With Self Serve Communication Portal

Delivering Consistent And Compelling Customer Communication With Self Serve Communication Portal

Supporting & Building Digital Solutions for Improving Customer Experience

Espire upgraded their existing corporate website to Sitecore version 9.1 for streamlining navigation issues, upgraded their E-commerce platform for delivering personalized customer experiences, deployed Sitecore technical enhancements to improve development process like refactoring, Unicorn, Glass mapper and T4templates, Search etc

A Leading Offender Management Software Solution Provider Gains the Competitive Edge of Agility

The client is a leading provider of offender management product, catering to the Governments sector mainly to Canada, USA and UK. With the aim of becoming agile by automating the internal processes and modernizing the systems, the client decided to develop an application to assess their end-client’s business process environment.

Powering Digital Transformation by revamping Quote & Buy process for a UK based leading Insurance company

Espire enhanced the existing Digital Transformation Journey using Umbraco CMS,Designed and implemented Umbraco based system for content management of the forms and modules

A Complete guide to upgrade to sitecore xm cloud why when and how

Sitecore XM Cloud's composable architecture allows organizations to create and manage personalized digital experiences for their customers, increasing engagement and conversions. With its cloud-based delivery model, Sitecore XM Cloud eliminates the need for organizations to maintain on-premises infrastructure, providing a cost-effective and secure solution for managing digital customer experiences

Leveraging composable architecture to drive unforgettable digital experiences

A composable architecture allows the application to adapt to the speed of business while enhancing responsiveness and scalability, paving the way towards driving greater business growth. In our latest blog, we share the benefits of leveraging a composable microservices-led architecture for business applications.

Top 10 strategic technology trends for 2023 by gartner Part2

In our first blog on Top 10 Strategic Technology Trends for 2023 by Gartner, we had discussed the top 5 technology trends that will enable businesses to offer customized experiences to the end users for better engagement, ROI, conversion, and sales. As a concluding part of this 2 series blog, we will enlist and discuss the next 5 disruptive tech trends to be witnessed in 2023 such as Wireless value realization, Superapps, Adaptive AI, Metaverse and Sustainable technology.

Top 10 strategic technology trends for 2023 by gartner Part1

The pace of change is accelerating, driven by emerging technologies such as artificial intelligence, the Internet of Things, big data and blockchain-all of which are changing how we work, live, and manage our businesses. In this blog, Part 1 of the top 10 strategic technology trends for 2023, we will be exploring the top 5 trends identified by Gartner, which can significantly contribute to your success story.

Subscribe To Our Blog

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

global-locations

12

+

Global Locations

global-services

100

+

Global Customers Served

resources-certified

1200

+

Resources

technology-partnerships

30

+

Technology Partnerships

years-of-experience

20

+

Years of Experience in Digital Transformation & Total Experience

Speak to Our Digital Transformation Specialists

Let's get you started on the digital-first & transformation journey. Reserve your free consultation or a demo today!