Skip to main content
knicksak2
Level 2
Feb 11, 2016 4:52 PM UTC
Solved

Creating Custom Operators in segmentation components

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
Level 10
Feb 11, 2016 8:41 PM UTC

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..

3 replies

smacdonald2008
Level 10
Feb 11, 2016 6:23 PM UTC

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.

Translate
knicksak2
knicksak2Author
Level 2
Feb 11, 2016 6:43 PM UTC

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

Translate
Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
Level 10
Feb 11, 2016 8:41 PM UTC

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..

Translate