Details
-
Improvement
-
Resolution: Done
-
Neutral
-
None
-
None
-
None
-
None
Description
Hello.
The example code provided in the example on the Content View Definition (https://docs.magnolia-cms.com/product-docs/6.2/Apps/App-configuration/Content-view-definition.html) is supposed to be in v6
But when I visit the column definitions example for v6, it's different. (https://docs.magnolia-cms.com/product-docs/6.2/Apps/App-configuration/Column-definition.html)
The contrasting sections:
columns: &columns
- name: jcrName
label: name
$type: jcrTitleColumn
editable: true
nodeTypeToIcon:
mgnl:contact: icon-people
mgnl:content: icon-folder
editor:
availability:
nodes: true
properties: true
and
columns:
value:
filterComponent:
$type: textField
defaultValue: 10
I'm not pointing out the fields, but the structure/indentation. (well, the &columns is confusing too...)
One uses
- name: name
The other uses
name:
There's a mismatch here that's confusing for programmers. Which one is used for Magnolia V6 and which is for V5? Or does the specific syntax not matter?
Checklists
Acceptance criteria