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 uploading assets to the DAM workspace. It extends the basic upload field as follows:

  • The uploaded file is mapped to a media type based on its MIME type.
  • Default field labels are overridden by media-type labels such as Upload new image.
  • Actions for editing images in the media editor.
  • Actions for previewing images.
  • Thumbnail preview.

...

class: info.magnolia.dam.app.ui.field.definition.DamUploadFieldDefinition

fieldType: damUpload

DAM upload field properties

Simple DAM upload field definition:

...

Info

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