Custom Namespace in Asset metadata not working in AEM Cloud Service | Community
Skip to main content
selvendranr9588
Level 2
March 12, 2024
Solved

Custom Namespace in Asset metadata not working in AEM Cloud Service

  • March 12, 2024
  • 1 reply
  • 672 views

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/custom-namespaces.html?lang=en

 

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

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by aanchal-sikka

@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

1 reply

aanchal-sikka
Community Advisor
aanchal-sikkaCommunity AdvisorAccepted solution
Community Advisor
March 12, 2024

@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