Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
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