Keep a file with a task or in a document
attachCopy a local file into Tisty as a task journal entry or document addition, recording its source and showing it as an image, card, or live HTML widget.
Instructions
Copy a file from this machine into Tisty and keep it in one of two places: name a task and it goes on that task's journal, with where it came from written down beside it; name a doc and it is added at the end of that document, shown there as a picture or a card. An .html or .htm page attached to a document is drawn there as a live widget, sealed like a ```widget block and with the same classes and colours, which suits a page too large to write inline; to show it as a plain card instead, give its reference the title "file": . One or the other, never both. The file is copied, not linked. A task and a document both take files up to 650 MB — a recording, a video, a slide deck. Only attach what you were asked to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | No | The document's id, if it goes in a document — an opaque name like `q7ntmzbm-0001`, which `docs` lists | |
| path | Yes | A path to a file on this machine | |
| task | No | The task id, if it is kept with a task | |
| label | No | What to call it. Defaults to the file's own name |