Details
-
Task
-
Resolution: Done
-
Neutral
-
None
-
None
-
None
-
Empty show more show less
-
Empty show more show less
-
AuthX 14
-
3
Description
Exhaustive List of attributes can be found here: config.yaml
The value of the ElementAttributes are computed against different implementations of `info.magnolia.templating.elements.AbstractContentTemplatingElement`
The react frontend-helpers project is using only a subset of the attributes (see TemplateAnnotation.js )
const PAGE_MAP = { content: ['@path', ''], dialog: ['dialog', '', getValueFromObject] }; const AREA_MAP = { name: ['@name', ''], content: PAGE_MAP.content, dialog: PAGE_MAP.dialog, availableComponents: ['availableComponents', []], type: ['type', 'list', getValueFromObject], label: ['title', '', getValueFromObject], inherit: ['inheritance', false, getValueFromObject], optional: ['optional', false, getValueFromObject], createdAreaNode: ['createAreaNode', true, getValueFromObject], showAddButton: ['maxComponents', true], showNewComponentArea: [null, true], description: ['description', '', getValueFromObject], activationStatus: [null, 0] }; const COMPONENT_MAP = { content: PAGE_MAP.content, dialog: PAGE_MAP.dialog, label: ['title', '', getValueFromObject], description: ['description', '', getValueFromObject], activationStatus: [null, 0] };
Checklists
Acceptance criteria
Attachments
Issue Links
- is cloned by
-
PAGES-676 [SaaS] Reimplement TemplateAnnotationEndpoint on top of Norsu
-
- Closed
-
There are no Sub-Tasks for this issue.