cancel
Showing results for 
Search instead for 
Did you mean: 

OOTB advanced personalization BTG rule not working to hide a component

Former Member
0 Kudos

Hi, Using Hybris 5.3 version, country lives in rule(OOTB) works fine when i intend to add the user to a new user group. But, when the output action is to hide a component, it does not work. Tried with banner component and cmsMediaParagraph component (both customized). Is there any limitation based on the type of component or is this an issue with the version?

Appreciate any suggestions.

Accepted Solutions (1)

Accepted Solutions (1)

raghavendra_desu
Contributor
0 Kudos

Hi Sneha,

To restrict the component based on rules, the component should be evaluated based on rules. For this we need to enable the component for evaluating the restrictions. This will be enabled by evaluateRestriction="true" in <cms:component> tag.

Eg:

 <cms:component component="${childlink}" evaluateRestriction="true" element="li" />

Can you please make sure, this is enabled in your components, so that the restrictions will be evaluated else it will not.

Can you please try this and check.

Regards,

Raghavendra.

Former Member
0 Kudos

Thanks for your reply Raghavendra. Have added evaluateRestriction as true in the component tag now, but still its not getting hidden. The report shows its 100% fulfilled and passed. I have selected hide component in output action area and Country user lives in Australia. Appreciate your help a lot.

Former Member
0 Kudos

Thanks it works fine, onlyOneRestrictionMustApply was set true for the component. So, it was applying only site restriction.

Answers (0)