# Drag & Drop Attachment Uploader Example Configuration

## Single-file quotation upload

| Parameter | Example value |
| --- | --- |
| `attachmentTarget` | Workflow variable `VendorQuotation` |
| `multiple` | `false` |
| `acceptedFileTypes` | `.pdf,.png,.jpg,.jpeg` |
| `maxFileSizeMB` | `20` |
| `maxFileCount` | `1` |
| `title` | `Upload vendor quotation` |
| `helperText` | `PDF, PNG or JPG up to 20 MB.` |
| `displaySize` | `Large` |
| `hideUploadedFiles` | `false` |

## Multiple supporting-document upload

| Parameter | Example value |
| --- | --- |
| `attachmentTarget` | Workflow variable `SupportingDocuments` |
| `multiple` | `true` |
| `acceptedFileTypes` | `.pdf,.doc,.docx,.xls,.xlsx,.png,.jpg,.jpeg` |
| `maxFileSizeMB` | `20` |
| `maxFileCount` | `10` |
| `title` | `Add supporting documents` |
| `helperText` | `Drag files here or browse from your device.` |
| `displaySize` | `Medium` |
| `hideUploadedFiles` | `false` |

## Compact layout

| Parameter | Example value |
| --- | --- |
| `attachmentTarget` | Attachment variable selected in the form |
| `multiple` | `true` |
| `acceptedFileTypes` | Empty (accept all at the client-side control level) |
| `maxFileSizeMB` | `10` |
| `maxFileCount` | `5` |
| `title` | `Add files` |
| `helperText` | Empty (show automatic rules summary) |
| `displaySize` | `Small` |
| `hideUploadedFiles` | `true` |

Adjust variable names and limits to match the target Yeeflow application and tenant policy. Always verify upload, save/submit, reopen, preview/download, delete, and read-only behavior before production publication.
