Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

how to manage different asset type for different metadata in aem cloud

Avatar

Level 3

I hv three different asset type for eg - jpeg,png,ttf  and for all three hv their different metadata.

Can some one help me how to manage metadata so that  i can see different asset metadata properties for different asset type.

 

Thanks.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi, 

 

You can manage this scenario using granite:renderconditions.

1. Create a metadata that contains the metadata for all of the different type of assets

2. Go to your metadata definition, (usually under: /conf/global/settings/dam/adminui-extension/metadataschema)

3. Add a granite render condition that checks the asset type opened on each of the metadata tabs.


This worked for me:

EstebanBustamante_0-1715736538711.png

Result:

EstebanBustamante_1-1715736650972.png

EstebanBustamante_2-1715736701140.png

Hope this helps

 



Esteban Bustamante

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi, 

 

You can manage this scenario using granite:renderconditions.

1. Create a metadata that contains the metadata for all of the different type of assets

2. Go to your metadata definition, (usually under: /conf/global/settings/dam/adminui-extension/metadataschema)

3. Add a granite render condition that checks the asset type opened on each of the metadata tabs.


This worked for me:

EstebanBustamante_0-1715736538711.png

Result:

EstebanBustamante_1-1715736650972.png

EstebanBustamante_2-1715736701140.png

Hope this helps

 



Esteban Bustamante