Creating Custom Operators in segmentation components | Community
Skip to main content
knicksak2
New Participant
February 11, 2016
Solved

Creating Custom Operators in segmentation components

  • February 11, 2016
  • 3 replies
  • 748 views

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.
Best answer by Lokesh_Shivalingaiah

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

Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
New Participant
February 11, 2016

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

knicksak2
knicksak2Author
New Participant
February 11, 2016

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

smacdonald2008
New Participant
February 11, 2016

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.