Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Metadata Schema - Mapping Field to Multiple Properties

Avatar

Level 3

It seems as though the Metadata field setup, specifically Title so far, is different from a general asset (file) and a content fragment.  For a regular asset the mapping is ./jcr:content/metadata/dc:title and for a content fragment it is ./jcr:content/jcr:title

Is there a way to have one Schema with field mappings to two different locations so that the same Schema can be used for both regular assets and content fragments or do we need to maintain separate Metadata Schemas for the two entities even if we wanted them to look identical to one another?

0 Replies