Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Javadoc resource link
classNameinfo.magnolia.dam.app.ui.field.definition.DamUploadFieldDefinition
renderTypeasynchronous
renders a field that is used by the Assets app for  for uploading assets to the DAM workspace. It extends the basic upload field as follows:

...

Simple DAM upload field definition:

true
Localtab Group
Localtab
activetrue
titleYAML file
Code Block
languageyml
form:
  tabs:
    - name: tabUpload
      label: Upload
      fields:
        - name: upload
          fieldType: damUpload
          label: Upload asset
          binaryNodeName: jcr:content
          editFileName: 
true
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
binaryNodeName

jcr:content

Mgnl p
fieldType

damUpload

Mgnl p
label

Upload asset

Mgnl p
editFileName

Include Page
_referencing Referencing fields shortcut info - 5 UI
_referencing Referencing fields shortcut info - 5 UI

Include Page
_Common upload field properties - 5 UI
_Common upload field properties - 5 UI

...

Include Page
_Common field properties - 5 UI
_Common field properties - 5 UI

Info

When using the basic upload field in a composite field, use DelegatingCompositeFieldTransformer. The other transformer classes do not work.