Search code examples
sitecoresitecore8sitecore-ecmsitecore-exm

EXM 8.1: Easy way to create a recipient list based on members of a certain Sitecore role?


Q: Is there an "out of the box" trick to create a new recipient list for Email Experience Manager based on members from a certain Sitecore role?

I did some research and the ListManager in EXM (ECM) only allows importing contact a CSV file, without integrating with the Sitecore UserManager module.

Based on this article: http://blog.boro2g.co.uk/sitecore-export-users-role/ an option would be to implement an Export to CSV from the "Members in role" and import that back in EXM's xDB.


Solution

  • It could be done with an extension of conditions for List Manager: Supposed that your conversion of Analytics DB from DMS to 8 was successful and you have contacts-user that corresponds your visitors-users previously. You can create "Segmented list" of contacts which will correspond some role. For segmentation table you should create new custom condition that will filter your contacts. (Logic could be easy enough: you know contact email, then you find user by this email and check his roles).