Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCU-2028

Column definition: Explain column editor's availability

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Neutral
    • None
    • 6.2
    • None
    • Docu Sprint 79
    • 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.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              akhamis Ashraf Khamis
              cringele Christian Ringele
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoR

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 28m
                    28m