Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

Date based profile traits for segmentation rules

Avatar

Level 4

Hi All,

We have options for numeric, string, boolean types of traits for which rule evaluation is straight forward. Has anyone used date type of trait, applied rules like date between this date range or something like that?

Any pointers would be helpful.

- Thanks
Sandeep

1 Accepted Solution

Avatar

Correct answer by
Level 4

There is no OOTB option it seems, we can create a custom trait component and write logic in trait.js.jsp similar to few components present inside (/libs/cq/personalization/components/traits).

Regards,

Sandeep

View solution in original post

1 Reply

Avatar

Correct answer by
Level 4

There is no OOTB option it seems, we can create a custom trait component and write logic in trait.js.jsp similar to few components present inside (/libs/cq/personalization/components/traits).

Regards,

Sandeep