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

8 replies

EstebanBustamante
Adobe Champion and Community Advisor
Adobe Champion and Community Advisor
August 6, 2024

Hi, 

You need to use granite:renderconditions., please see my response with a working example here: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-manage-different-asset-type-for-different-metadata-in-aem/m-p/672839 

 

You can learn more about granite:renderconditions. here: https://gist.github.com/nateyolles/eec2f56acc7153fe9fb7dd6637e8f7ad 

https://jpsoares.medium.com/aem-granite-render-conditions-438c804b1e5a

Hope this helps

Translate
Esteban Bustamante
Mankaran_Singh
Level 2
August 7, 2024

1Q)  im using aem 6.5 on premise would this functionality work for aem 6.5

2Q)  can u please ellaborate the process 

Translate
kautuk_sahni
Adobe Employee
Adobe Employee
August 7, 2024

@mankaran_singh Did you find the suggestions from users helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!

Translate
Kautuk Sahni
Level 2
August 7, 2024

Yes, We require more information can you please help us.

 

Translate
Level 2
August 7, 2024

The exact ques is we created 2 custom tabs in metadata schema jpeg1 and jpeg2 and when i upload image in assets then in properties there should be both tabs visible jpeg1 and jpeg2 by default but i want that only jpeg1 tab is visible and jpeg2 tab should be hidden. How can i achieve this?

Translate