Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Unable to fetch asset Metadata from the Overriden DAM Dialog.


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.



0 Replies