Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Enable /disable the HTML component based on the value of Feature Flag from Adobe Target

Avatar

Level 3

Hi All,

I have  a requirement to show/ hide the HTML content on the page based on the feature flag value returned from the Adobe Target.

Description:

1.When the feature flag named "displayHTML" from Adobe Target is set to true , then the HTML, CSS , javascript present within the component gets rendered on the page and the flag value is set to false as default.

 

So, can anyone please help me out with any reference or ideas inorder to achieve this implementation.

 

Thanks in Advance!

2 Replies

Avatar

Community Advisor

Hi,

I think this can be done using front end code.

YOu always hide that component and when the target value is displayHTML true, you simply show it. This is the main idea. 

How to do, it is based on your implementation.

Avatar

Level 3

Hi @arunpatidar ,

Thanks for your response!

I would like to know about how the value of feature flag from Adobe Target will be integrated with AEM HTML component .Please advise on it .

 

Thanks.