Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

for Aem version 6.5

Avatar

Level 2

Suppose we have one dialog of component with 3 fields(first name, last name, phone number).i dragged this component in two pages. i want to hide phone number field from 2nd page only.how we can do it? basically what i want to ask is can we control dialog on template level?

1 Accepted Solution

Avatar

Correct answer by
Level 4
2 Replies

Avatar

Employee Advisor

As you are planning to hide and show phone number based on template, I feel combination of granite:hide and cqDesign can help you here.

 

Please refer https://experienceleague.adobe.com/docs/experience-manager-65/developing/components/hide-conditions....

 

Avatar

Correct answer by
Level 4