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.
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.
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
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.
- Then, you should create a configuration file with the following XML and further add it to the following paths:
- Name of the config should start from sc. and end with .xml like this
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.
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 firstname.lastname@example.org or connect with me by
MORE FROM OUR BLOGS
Creating an automated online voting platform for seamless onboarding and improved Voter Experience
One of the major challenges faced by the customer was - conducting the cooperative elections amidst the nationwide lockdowns in the US as casting votes on a piece of paper was neither safe nor feasible. Espire built an online voting application to integrate all the three existing ways of voting in one place including: Online voting (through a website), SmartHub voting (through single sign-on), Paper ballot voting (which includes data entry and verification)
Designed a Centralized Content Management System for a Leading UK-based Staffing Business
A leading Global Talent Acquisition and Managed Workforce Solutions provider in the UK, needed support to centralize its content management for the 22+ acquired brands and required a simplified process for posting job openings & deploying regular enhancements for content management. Espire considering the challenges, reimplemented the front-end design framework for better performance, security and SEO optimization. We also redesigned the cloud architecture on Microsoft Azure to support constant enhancements required to centralize & manage enterprise & localized content.
Design & Development of a Responsive SharePoint Website For the holding company of Singapore’s public healthcare providers
The client manages the public healthcare system to ensure that good and affordable basic medical services are available to all Singaporeans.
Enhanced digital customer experiences for a leading Singapore headquartered transshipment hub
The customer's existing website was deployed on-premises and leveraged a WCM platform, Joomla they required a strategic technology partner to revamp the website, improve content delivery and website navigation with needed to map customer journey and access visitor analytics efficiently
Digital Communications and CCM Solutions 4 key initiatives to Improve Customer Experience
Digital communications help in stitching your prospect to customer journeys together by keeping them actively engaged and allowing them to re-initiate conversation from where they left off. Delivering contextual and interactive communications can help the customers take the next step and reach out to you through the channel convenient for them.
Total experience digital transformation strategy for global businesses
The Total Experience strategy has emerged as a key trend for businesses to drive better digital experiences for users, customers and employees while improving business growth
Digital experience management 5 best practices to improve customer experience on b2b websites
Customer Experience is at the heart of customer service and building long-lasting customer relationships. Customer experience will emerge as the key determinant of business success, surpassing the quality and price of products. While B2C brands have prioritized customer experience as a strategic business goal, B2B companies are yet to navigate their technology investments towards digital experience management.
Sitecore cdp optimization 5 steps for deploying customer data platform
The Customer Data Platform (CDP) has become a critical part of the modern technology stack, as a one-stop solution for data orchestration and management. Sitecore CDP comprises of all the core data management capabilities along with intelligent decisioning, predictive analytics, experimentation, and orchestration for driving positive brand experiences