I'm encountering an issue with rendering a component field that's specific to a template.
For instance, let's consider a text component with fields for Eyebrow, Title, and Description. Now, I've added a new field called Bio Detail to the text component.
My goal is to hide the Bio Detail field on templates other than the Bio Page Template. Additionally, on the Bio Page Template, I want to hide all other fields of the text component except for Bio Detail.
Note :- I am using jsp for render condition.
Solved! Go to Solution.
@HARSH_TIWARI If you are planning to switch from JSP to Sightly, you can refer to this blog https://ankanghosh-webdev.medium.com/granite-render-condition-in-aem-64d32f03a7d1
It covers a few scenarios for render conditions and you can always use the java logic in your JSP with a little modification done on your end.
Thanks,
Ankan Ghosh
Hi @HARSH_TIWARI , please refer below for creating custom renderconditions
https://www.bounteous.com/insights/2020/06/10/control-aem-action-menus-render-conditions
Thankyou @sravs for adding the blog link but that is not much helpful for me.
Views
Replies
Total Likes
@HARSH_TIWARI If you are planning to switch from JSP to Sightly, you can refer to this blog https://ankanghosh-webdev.medium.com/granite-render-condition-in-aem-64d32f03a7d1
It covers a few scenarios for render conditions and you can always use the java logic in your JSP with a little modification done on your end.
Thanks,
Ankan Ghosh
Thanks @Ankan_Ghosh
Views
Replies
Total Likes
Views
Likes
Replies