Note |
---|
This basic upload field definition has been deprecated since Magnolia 6.0. It is part of the Magnolia 5 UI framework. For the updated implementation, see Upload field for Magnolia 6 UI instead. |
Javadoc resource link |
---|
rangeHigherVersion | 6.0 |
---|
className | info.magnolia.ui.form.field.definition.BasicUploadFieldDefinition |
---|
renderType | asynchronous |
---|
|
renders a field to upload a file to a Magnolia JCR workspace.
The file is stored on the node of the current context of the form (within a dialog or subApp), which could be a content app item, a page or a component of a page.
...
- Completed displays a success notification and summary of file info.
Basic upload field properties
Simple basic upload field definition:
...
Code Block |
---|
|
form:
tabs:
- name: tabUpload
label: Upload
fields:
- name: upload
fieldType: basicUpload
label: Upload
allowedMimeTypePattern: text/xml
binaryNodeName: import
Localtab |
---|
|
|
Advanced Tables - Table Plus |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
|
Node name | Value |
---|
| | | | | | text/xml |
| import |
| basicUpload |
| Import XML file
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 |
---|
|
Common field properties:
Include Page |
---|
| _Common field properties - 5 UI |
---|
| _Common field properties - 5 UI |
---|
|
Info |
---|
When using the basic upload field in a composite or multivaluefield field, use the DelegatingCompositeFieldTransformer. The other transformer classes do not work. |