Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
...
Use the <attachment> tag
...
to provide a widget for uploading files to a record.
Use this tag:
- on the new record form
...
- to
...
- enable the functionality of attaching files.
- with the recordId, tableName attributes to attach a file to an existing record. In this case, the attributes are mandatory.
Available attributes:
...
that has the record |
...
with the tag is bound. | |||
isReadOnly | Boolean | N | Enable or disable attaching files. It is possible to attach files via the widget if the attribute value is |
...
false |
...
. It is not possible to attach files via the widget if the attribute value is |
...
true |
...
. |
Example:
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<attachment tableName={data.table_name} recordId={data.record_id}></attachment> |