File

File is used to manage uploaded documents.

Properties

Id "string", "variable", "expression"\
The id of the file that will be sent after selecting a file action, to identify which file was selected.


Value "expression" | required
The value will be either DOWNLOAD or REMOVE, according to which of the file actions has been triggered.


Name "string", "variable", "expression"
The text of the name displayed should be the file name. We recommend using short labels for easy scanning.


Status value "string", "variable", "expression" | required
This requires the status value that the document currently has. It is limited to one of the following values: LOADING, ERROR, IN_PROGRESS, UNDER_REVIEW, COMPLETED or DECLINED.


Status mapping "table" | required
The status value can be mapped here to show a different label for each of them.

NameTypeDescription
Status value"string", "variable", "expression"Value to match with the component status value.
Status label"string" | multilanguageLabel for the value.

Can remove file "boolean"
If the file can be removed, this option must be enabled. It defaults to true.


Margin top "number"
Add space equivalent to the number of indicated pixels to the top margin.


Margin bottom "number"
Add space equivalent to the number of indicated pixels to the bottom margin.