Expand my Community achievements bar.

SOLVED

Creating Custom Operators in segmentation components

Avatar

Level 2

I have a need to target by using the operator does not contain. However, this isnt built into aem by default. Is this option available to use and if not how do i create my own custom operators? Thank you very much.

1 Accepted Solution

Avatar

Correct answer by
Level 10

You can see the js implementation for each of these oprerators here 

/libs/cq/contexthub/code/kernel/segment-engine/comparison-operators

Hope that gives you an idea..

View solution in original post

3 Replies

Avatar

Level 10

Like other AEM components - you can overlay a segmentation component. However - i am not aware of any examples that show you how to perform this use case.

Avatar

Level 2

Do you know where the out of the box ones are located so i can look at them and try to extend them?

Avatar

Correct answer by
Level 10

You can see the js implementation for each of these oprerators here 

/libs/cq/contexthub/code/kernel/segment-engine/comparison-operators

Hope that gives you an idea..