Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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