You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 8 Next »
Use the <attachment> tag to provide a widget for uploading files to a record.
Use this tag:
Available attributes:
Specify the ID of the record to bind it with the attachment widget.
The recordId attribute is mandatory, if tableName is set.
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:
<attachment tableName={data.table_name} recordId={data.record_id}></attachment>