Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Remove inexisting property 'preview'

...

Localtab Group
Localtab
activetrue
titleYAML file
Code Block
languagejs
form:
  tabs:
    - name: tabUpload
      label: Upload
      fields:
        - name: upload
          class: info.magnolia.ui.form.field.definition.BasicUploadFieldDefinition
          label: Upload
          allowedMimeTypePattern: text/xml
          binaryNodeName: import
          preview: false
Localtab
titleJCR node
Advanced Tables - Table Plus
enableHeadingAttributesfalse
enableSortingfalse
classm5-configuration-tree
enableHighlightingfalse

Node name

Value

Mgnl n
form


Mgnl n
tabs


Mgnl n
tabUpload


Mgnl n
fields


Mgnl n
upload


Mgnl p
allowedMimeTypePattern

text/xml

Mgnl p
binaryNodeName

import

Mgnl p
class

info.magnolia.ui.form.field.definition.BasicUploadFieldDefinition

Mgnl p
label

Import XML file

Mgnl p
preview

false

You can use common field properties and the properties in the tables below in a basic upload field definition:

...