Versions Compared

Key

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

...

It is possible to configure

Javadoc resource link
classNameinfo.magnolia.dam.app.ui.field.definition.DamUploadFieldDefinition
renderTypeasynchronous
in dialogs or other apps, but keep in mind that the file will be placed in the workspace for which the field has been configured. For example, if you use the field in a dialog for a component template, that file (when uploaded using the field) will be stored in the website, not the DAM, workspace. It is best practice to keep your assets in the DAM whenever possible and link to them using a link field.

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

...

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

Caption properties specific to the DAM upload field:

<field name>

required

Name of the field.

editFileCaption

optional, default is Edit image ...

Text displayed as a tooltip when you hover over the edit action icon.

lightboxCaption

optional, default is View in lightbox ...

Text displayed as a tooltip when you hover over the preview action icon.

Common field properties:

Include Page
_Common field properties
_Common field properties

Info

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