Enable /disable the HTML component based on the value of Feature Flag from Adobe Target | Community
Skip to main content
Level 3
April 22, 2022

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

  • April 22, 2022
  • 1 reply
  • 808 views

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!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

arunpatidar
Community Advisor
Community Advisor
April 22, 2022

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.

Arun Patidar
Keerthi97Author
Level 3
April 22, 2022

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.