내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

How to enable/disable a page property based on a checkbox or another page property

Avatar

Level 2

Hi,

I am looking to enable/disable a page property based on other page property. I tried to explore granite:rendercondition, but looks like an older implementation. Currently i am on AEM 6.5. Any leads on this are appreciated.

Thanks,

Raghu

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Community Advisor

Hi @raghud1980 

 

You would need to write your own handler to enable and disable a page properties dialog. If you observe the similar implementation is done in "Brand Slug" option present in OOB page properties dialog . It's enabling and disabling the field. You can refer to the similar approach and implement it based on the core component.

 

AvinashGupta01_0-1670262526672.png

 

 

https://github.com/adobe/aem-core-wcm-components/blob/main/content/src/content/jcr_root/apps/core/wc... 

 

Hope this helps.

원본 게시물의 솔루션 보기

1 답변 개

Avatar

정확한 답변 작성자:
Community Advisor

Hi @raghud1980 

 

You would need to write your own handler to enable and disable a page properties dialog. If you observe the similar implementation is done in "Brand Slug" option present in OOB page properties dialog . It's enabling and disabling the field. You can refer to the similar approach and implement it based on the core component.

 

AvinashGupta01_0-1670262526672.png

 

 

https://github.com/adobe/aem-core-wcm-components/blob/main/content/src/content/jcr_root/apps/core/wc... 

 

Hope this helps.