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.

Unable to fetch asset Metadata from the Overriden DAM Dialog.

Avatar

Level 3

Hi Community,

I have overridden the DAM dialog to add extra metadata fields  and kept under /apps/dam/content/asseteditors. I have added a extra fields like

cq:contentType of type tags.

While fetching these metadata properties in my java class, the value is coming as null. This is because the metadata property is stored as cq:type (string[]) but in asset metadata properties i am getting this property by name ns1:contentType instead of cq:contentType. i am facing this issue only in UAT environment, the same is working fine in lower environment including my local. Facing similar issue for  namespace(dam:numPages) as well. 

Please suggest.

Thanks,

Vinay

0 Replies