Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Custom Namespace in Asset metadata not working in AEM Cloud Service

Avatar

Level 2

Hi,

 

I followed the below article and able to create a custom namespace for asset metadata and able to add the properties and save it

 

https://experienceleague.adobe.com/docs/experience-manager-learn/cloud-service/developing/advanced/c...

 

The custom namespace created is "gmkt" and the property created is ./jcr:content/metadata/gmkt:customerid

 

The issue which I am facing is when we open the asset properties after save, the authored values are not showing and the fields are blank.

 

In CRX, the new property is stored as gmkt%3Acustomerid instead of gmkt:customerid. Is this causing the issue or how to resolve this?

 

Thanks,

Selva

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@selvendranr9588 

 

We have been using custom namespace without an issue via CND file 

https://techrevel.blog/2020/01/23/aem-custom-namespace/#cnd 

 

<'sling'='http://sling.apache.org/jcr/sling/1.0'>
<'nt'='http://www.jcp.org/jcr/nt/1.0'>
<'techrevel'='http://www.techrevel.blog'>

[sling:Folder] > nt:folder
  - * (undefined)
  - * (undefined) multiple
  + * (nt:base) = sling:Folder version

Aanchal Sikka

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

@selvendranr9588 

 

We have been using custom namespace without an issue via CND file 

https://techrevel.blog/2020/01/23/aem-custom-namespace/#cnd 

 

<'sling'='http://sling.apache.org/jcr/sling/1.0'>
<'nt'='http://www.jcp.org/jcr/nt/1.0'>
<'techrevel'='http://www.techrevel.blog'>

[sling:Folder] > nt:folder
  - * (undefined)
  - * (undefined) multiple
  + * (nt:base) = sling:Folder version

Aanchal Sikka