Skip to content
MyAppBuilder
StableField type

File

Overview

An uploaded document — PDF, contract, spreadsheet, photo — stored in your app's file storage.

Purpose

Attach documents to records: signed quotes, invoices, certificates. Tables show the file name as a download link.

Inputs

  • Fits the File Upload input (accepted types, multiple, max size) and the Signature input. Outside forms, the Upload file action followed by Update record.

Configuration

  • Options on every editable field: Required, Unique (no duplicates) (checked case-insensitively against existing records), Description (shown to teammates and the AI), a default value and a custom validation message that replaces the standard one.
  • Uploads are limited to 15 MB and to recognised file types (content is sniffed).
  • Files live per environment: test uploads are not visible in the live app.

Outputs

  • Stored as the file's URL, or as { url, name } when the uploader provides a name. Displayed as a link with the file name.

Example

Signed contract

Example
Field: Contract · Type: File
Example value: { "url": "/api/files/…/contract.pdf", "name": "contract.pdf" }

Errors

  • “Contract must be an uploaded file” — the value is not an upload URL (typed text is rejected).
  • “Contract is too large” — inline data over 400 KB.

Limitations

  • One file per field; for several attachments create a related entity (Attachments) with a File field.
  • Deleting a record does not delete the stored file.

Advanced

  • Accepted string values: ^(https?:\/\/|\/api\/(files|runtime)\/) or data:image/… (≤ 400,000 chars). Objects are normalised to { url, name }.

Related

Was this helpful?