Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Getting Asset Metadata from Granite Asset API

Avatar

Level 3

Hi ,

Can anyone tell me how we can get asset metadata property value from Granite Asset API.

Thanks

3 Replies

Avatar

Level 3

Hi Scott,

Thanks for your response. I tried that but I am not sure what to give in Xpath.

I am using asset.getAssetMetadata().getProperty(XMPPath path, <T>class). Could you please explain how we can get the Xpath of a particular metadata property?