Content
Reference5 minFoundation
Keep one document in a dedicated field, such as the signed PDF for a contract. People upload the file on the form and can download or remove it there.
One uploaded file or image.
CONTENT
Use when
- Contract: upload the signed PDF
Choose another type for
- Several files in the same field
On a form
A single-file upload control with file download and removal.
In views
Can be selected for configured data view columns. Configure its display in the data view settings.
In Smart Script
getCurrentValue() has a String return type for every field type; an unset value can be null. Use the field’s content object or content list for file data; the string is not the file bytes.
Import and export
Use the form upload or signature control to capture the value.
Example
Contract: upload the signed PDF
Settings
| Setting | What it does |
|---|---|
| Show in record details | Includes this field in the record details; forms and data views are configured separately. |
| Show in the record header | Includes this field among the record header fields. |
| Position | Sets the order in record details; lower numbers appear first. |
| Virtual field | Computes the value at display time instead of storing it. |
| Encrypt values | Choose encryption when you create the field. |
| Encryption key | Select an ACTIVE encryption key. |
| Default value | Sets a plain value or Smart Script for new records. |
Name the field
Section titled “Name the field”Start the field name with an English letter. Use letters, digits, spaces and underscores.
What's next
Last checked