pb_files_upload
Attach files to specific records in a PocketBase collection by uploading Base64 encoded data, specifying the record ID, field name, and file details for storage.
Instructions
Upload a file to a record field
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection | Yes | Collection name or ID | |
| fieldName | Yes | Field name to store the file in | |
| fileData | Yes | Base64 encoded file data | |
| fileName | Yes | Original file name | |
| mimeType | No | File MIME type | |
| recordId | Yes | Record ID to attach the file to |