Title property: any docs on ./jcr: vs ./customname? | Community
Skip to main content
August 23, 2018
Solved

Title property: any docs on ./jcr: vs ./customname?

  • August 23, 2018
  • 1 reply
  • 651 views

Just wondering if anyone can point me to a clear piece of documentation to differentiate between when we would use ./jcr: and when we would use a custom value such as ./customname?

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

 

 

The jcr: namespace is used to define system-specific properties and elements in the repository. In AEM, these properties and elements are essential for the proper functioning of the content repository and the management of content-related information. Some common system-specific properties in the jcr: namespace include jcr:primaryType (indicating the primary node type), jcr:mixinTypes (indicating mixin node types), and others.

 

Since, these are have a specific purpose, please avoid using "jcr:" namespace for custom properties.

 

Use custom namespace for custom properties. Namespace primarily helps you organize and manage your metadata. For example, it could help you:

  • Identify custom metadata against OOTB metadata
  • Identify a metadata’s source: when metadata flows-in from from multiple 3rd party systems
    • In such scenario, you could easily identify the source of metadata, by mapping a namespace against the metadata’s scource.
  • Filter what should be written on to an asset binary by Metadata Writeback Workflow. The DAM metadata writeback workflow would only write a metadata that has a namespace.

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

1 reply

aanchal-sikka
Community Advisor
aanchal-sikkaCommunity AdvisorAccepted solution
Community Advisor
December 17, 2023

 

 

The jcr: namespace is used to define system-specific properties and elements in the repository. In AEM, these properties and elements are essential for the proper functioning of the content repository and the management of content-related information. Some common system-specific properties in the jcr: namespace include jcr:primaryType (indicating the primary node type), jcr:mixinTypes (indicating mixin node types), and others.

 

Since, these are have a specific purpose, please avoid using "jcr:" namespace for custom properties.

 

Use custom namespace for custom properties. Namespace primarily helps you organize and manage your metadata. For example, it could help you:

  • Identify custom metadata against OOTB metadata
  • Identify a metadata’s source: when metadata flows-in from from multiple 3rd party systems
    • In such scenario, you could easily identify the source of metadata, by mapping a namespace against the metadata’s scource.
  • Filter what should be written on to an asset binary by Metadata Writeback Workflow. The DAM metadata writeback workflow would only write a metadata that has a namespace.

    https://techrevel.blog/2020/01/23/aem-custom-namespace/
Aanchal Sikka