You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

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:

AttributeTypeMandatoryDescription
recordIdStringN

Specify the ID of the record to bind it with the attachment widget.

The recordId attribute is mandatory, if tableName is set.

tableNameStringNSpecify the name of the table that has the record with the tag is bound.
isReadOnlyBooleanN

To disable adding files, set the value to true. The default value is false.

Example:

attachment
<attachment tableName={data.table_name} recordId={data.record_id}></attachment>


  • No labels