The <attachment> tag is intended to provide a widget for uploading files to a record.
Use this tag:
The following attributes are applicable:
Attribute | Type | Mandatory | Description | |
---|---|---|---|---|
recordId | String | N | Specify the ID of the record to which this tag implementing attachment widget will be bound.
| |
tableName | String | N | Specify the name of the table for the record to which this tag will be bound. | |
isReadOnly | Boolean | N | Enable or disable attaching files. If the attribute is equal to 'false', you will be able to attach files via the widget. If the attribute is equal to 'true', you will not be able to attach files via the widget. |
<attachment tableName={data.table_name} recordId={data.record_id}></attachment> |