An attachment links a file or an external URL directly to an object, so supporting materials stay with the object they belong to. Attachments can be uploaded files or link attachments pointing to an external URL.
Add attachments
- In the top-right of your object, click the three dots.
- Click + Add attachment.
- In the top-right corner, click Upload attachment.
- Drag and drop your file(s) in the pop-up window to upload or click in the window to open your file explorer.
You can also use any text editor to upload attachments. Open the edit mode, add an image or click the attachments button to add a file to the text.
Allowed file types
By default you can upload these file types: doc, docx, xls, xlsx, ppt, pptx, pdf, png, jpg, jpeg, gif, webp, txt, csv, json, yaml, and yml. Files such as html, htm, svg, js, and exe are blocked. An administrator can change both lists in Configuration.
Dawiso also checks the file content. The extension in the file name must match what the file really is, so a file renamed to another extension is refused. Text files are accepted in any encoding; a binary file named .txt is refused.
If a file is refused, nothing is uploaded and you see Attachment upload failed. When you can view the file type lists, you may instead see Unsupported file types followed by the file name. If you upload several files at once and one is refused, none of them is uploaded. The same rules apply when you replace a file with a new version or rename an attachment. For the error code, see Error codes.
Manage attachments
- In the top-right of your object, click either
- The attachments button, or
- The three dots and select Attachments.
- Here, you can:
- Edit the attachment.
- Copy a link to the attachment to share it.
- Download the attachment or its versions.
Editing, copying a link, and downloading apply to file attachments. Link attachments offer a different set of actions.
Select an attachment to open its detail on the right. The detail shows the file name, category, content type, current version, and description. Image attachments also show a preview. To resize the detail, drag its left edge.
Link attachments
An attachment can also be an external link instead of an uploaded file. Dawiso stores only the URL and doesn’t store or download the target. A link attachment is created through the REST API (internal upload with externalUrl, or POST api/public/v1/object-data/{objectId}/link in the public API); the Upload attachment window uploads files only.
Dawiso accepts http, https, and file URLs of up to 2048 characters. A request must carry either a file or a URL, never both, and the URL must not start or end with spaces. Anything else, such as javascript: or ftp:, is rejected.
A link attachment appears in the list of attachments and in the attachment detail with its name, or its URL when it has no name, in place of the file name.
Name
- A link can carry an optional display name, set by the integration that creates it: the
namefield of the internal upload form, or thenamefield of thePOST api/public/v1/object-data/{objectId}/linkbody. A name made only of spaces counts as no name. - When the link has a name, hovering over it shows the address. Copying the link from the browser context menu always copies the address, not the name.
- The name can’t be changed later, and two attachments on one object can’t share a name.
Open a link
- An HTTP or HTTPS address opens in a new window with Open in new window.
- A
file://address, for example a path on a shared network drive, has two actions instead:- Copy link: Copies the address to your clipboard.
- Open link: Tries to open the address.
Your browser may block opening file:// links from a web app. If the link doesn’t open, click Copy link and paste the address into File Explorer or the Windows Run dialog.
What’s different from a file attachment
- The content type is shown as Link in the list and in the detail, and the File versions section offers no preview, copy link, or download.
- The only action in the detail’s three-dots menu is Remove attachment. Edit attachment is not offered.
- Selecting a link attachment in the attachment picker doesn’t insert it into the text.
Downloading a link attachment through the API returns 404 (ATTACHMENT_IS_EXTERNAL_LINK). A removed link stays in the object’s history with its URL.
Edit or delete attachments
- In the top-right of your object, click the attachments button.
- Select your attachment.
- On the right side, click the three dots and select:
- Edit attachment: Edit the name or description of your attachment (file attachments only).
- Remove attachment: Delete the attachment.
Removing an attachment link or image from the contents of an object doesn’t delete the attachment. Permanent deletion can be done only on the Attachments page.
Removing an editor-uploaded attachment from the text also hides it from the Attachments section and blocks its download there, even though the file itself is not deleted. Attachments uploaded directly on the Attachments page are never affected this way.
File versions
An attachment gains a new version when you upload a file with the same name over an existing attachment.
- In the top-right of your object, click the attachments button.
- Select your attachment.
- On the right side, go to the File versions section.
Versions are listed newest first. The newest version is tagged Current.
Each version in the list has its own actions:
- Preview the version at full size (image attachments only).
- Copy a link to the version.
- Download the version.
By default, Dawiso displays the first 10 versions. Click Show more to load more.
A concept can propose new attachments, new attachment versions, and attachment deletions. Review these proposed changes on the concept’s changes page before applying the concept. See Concepts.