[DOCU-2028] Column definition: Explain column editor's availability Created: 09/Jul/20  Updated: 13/Jul/20  Resolved: 13/Jul/20

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: 6.2
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Christian Ringele Assignee: Ashraf Khamis
Resolution: Done Votes: 0
Labels: content-app, new-UI-framework
Remaining Estimate: Not Specified
Time Spent: 28m
Original Estimate: Not Specified

Attachments: PNG File Column-Editor.png    
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:
Epic Link: 2020 mgnl-staff requests
Sprint: Docu Sprint 79
Story Points: 1

 Description   

On this page:
https://documentation.magnolia-cms.com/display/DOCS62/Column+definition#Columndefinition-Columnproperties

Are the column properties explained:

 

Im using it in an app, and I really didn't understand any pattern of what it means.
I tried both values as form the example above on the page.

For example I use, and it works like this, but I don't understand why:

            location:
              expandRatio: 1.0
              filterComponent:
                 $type: textField
              editable: true
              editor:
                availability:
                  nodes: true
                  properties: false
                field:
                  $type: textField

'location' is a simple property on the node, created by a text field.
I expected I have to use:

                availability:
                  nodes: false
                  properties: true

But this didn't work (bug! or wanted?). So my assumption "properties fo editing properties, nodes for editing node data like node name & path" was wrong.

I have no clue what the editor's availability is for/should do.

Thanks for clarifying.



 Comments   
Comment by Ashraf Khamis [ 13/Jul/20 ]

Source of confusion was the vaguely defined relationship between editable on the one hand and editor and its child properties field and availability on the other hand. Updated the example column definition and column properties at https://documentation.magnolia-cms.com/display/DOCS62/Column+definition to address the issue.

Integrated Christian's feedback after a long discussion. Final review by Roman.

Generated at Mon Feb 12 01:23:24 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.