How to configure the Upload with Metadata option
In File Manager, files can be optionally uploaded with metadata. By default, no metadata is uploaded.
Metadata configuration occurs in the "fileMetadataAttributes"
section of the configuration-wui.json file.
The first and mandatory step to show the arrow and its Upload with metadata menu entry is to set the "enable"
parameter to true
.
The Upload button in the main page will have an additional arrow with the Upload with metadata entry.

Then, in the fields section you can configure the options that you want to appear in the Upload with metadata window.
Where:
"name"
is the ID name of the metadata."mandatory"
is set to true and an asterisk * will appear in the dialog window to warn the user that the field cannot be empty.The
"values"
section adds a drop-down list of pre-configured values. In the sample,βpublicβ
andβsecretβ
are listed.The
"labels"
section contains the label that will appear for the value you are configuring. Multiple languages are supported.
Moreover, the sample file contains an optional Sender Note field.
Where:
"name"
is the ID name of the metadata."mandatory"
is set tofalse
and the field is optional."maxLength"
is the maximum number of characters that the user will be able to enter in the field."defaultValue"
is the default value appearing in the field. In this sample, the field is empty.The
"labels"
section contains the label that will appear for the value you are configuring. Multiple languages are supported.
Last updated