SaaS CMS has officially launched! Learn more now.

Filter list of visitor groups


Hi there,

When I drag and drop an item into a content area and then I click on personalize it'll display a pop-up with all visitor groups in the system. My question is, is there a way to filter these groups during runtime? I want to filter based on a property in a page.

Thank you!

Nov 28, 2020 0:15

Hello Anthony,

Yes, it is possible.

You would have to register and intercept your own decorator for IVisitorGroupRepository that would first call the base IVisitorGroupRepository.List method and then run custom filtering on the result.

Example of an interceptor here:

Dec 02, 2020 11:39

Thank you @Bartosz!

Dec 02, 2020 17:34
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.