Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

With the Используйте тэг <attachment> tag you can provide a widget for uploading files to a record.

Use this tag:

  • on the form page to attach files to a new record created via the form.
  • with the recordId, tableName attributes to attach a file to an existing record. In this case, the attributes are mandatory.

Available attributes:

, чтобы добавить виджет для добавления файлов к записи. 

Используйте этот тэг:

  • на странице формы, чтобы прикреплять файлы к созданной на ней записи
  • вместе с атрибутами recordId, tableName для прикрепления файла к существующей записи. Атрибуты в этом случае обязательны.


АтрибутТипОбязательныйОписание
recordIdStringНет

Укажите ID записи, с которой связать виджет для добавления вложенных файлов.

Note

Атрибут recordId является обязательным, если задано значение tableName

AttributeTypeMandatoryDescription
recordIdStringN

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

Note

The recordId attribute is mandatory, if tableName is set.


tableNameStringNНетУкажите название таблицы, в которой расположена запись с привязанным тэгомSpecify the name of the table for the record to which this tag is bound.
isReadOnlyBooleanNНет

Активируйте и деактивируйте возможность добавления файлов.

Файлы можно добавлять, если значение атрибута "false".

Возможность добавления отключения, если значение атрибута "true"

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'.


Code Block
languagexml
themeEclipse
titleattachment
linenumberstrue
<attachment tableName={data.table_name} recordId={data.record_id}></attachment>

...