Expand my Community achievements bar.

Nomination window for the Adobe Community Advisor Program, Class of 2025, is now open!

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 10

Check the Asset API in the Javadocs here: "The CQ5 Quickstart and Web Application."

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?

Avatar

Administrator

Check this reply Accessing dam asset metadata programatically



Kautuk Sahni