The Use the <attachment> tag is intended to provide a widget for uploading files to a record.
...
- on the form page to attach files to a new record created via the form.
- with recordId, tableName attributes to attach a file to an existing record. In this case, the attributes are mandatory.
The following Available attributes are applicable:
Attribute | Type | Mandatory | Description | ||
---|---|---|---|---|---|
recordId | String | N | Specify the ID of the record to which this tag implementing bind with the attachment widget will be bound.
| ||
tableName | String | N | Specify the name of the table for the record to which this tag will be is bound. | ||
isReadOnly | Boolean | N | Enable or disable attaching files. If You can attach files via the widget if the attribute value is equal to 'false', you will be able to . You can not attach files via the widget . If if the attribute value is equal to 'true', you will not be able to attach files via the widget. |
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<attachment tableName={data.table_name} recordId={data.record_id}></attachment> |
...