# Add Attachments

File attachments are a handy way to add additional or supportive information to a Document Object; e.g., log files as objective evidence for test executions, marketing survey data for requirements, or drawings for specifications. In Aligned Elements, **Attachments** are separate Document Objects that contain a File. They are added to the parent Document Object with help of a trace.

A File is uploaded to the Attachment by using the browse button in the Attachment Document Object Form. Once uploaded, you can click on the file name of the attached file to download and display the file. You can also use the dropdown actions to **Rename** the file or remove (**Clear**) the selected file.

Already added Attachments are displayed in the **Attachment tab** in the Document Object form with ID and title. Click on an Attachment ID to navigate to it.

{% hint style="info" %}
Note! It is possible to refer to already added Attachments by settings a trace to them.
{% endhint %}

## How to add an Attachment to a Document Object <a href="#how-to-add-an-issue-to-a-document-object" id="how-to-add-an-issue-to-a-document-object"></a>

Open a Document Object in either read or edit mode.

![](/files/IyDtQsTNSenO8srLvjCx)

### Add a new Attachment to a Document Object <a href="#add-a-new-issue-to-a-document-object" id="add-a-new-issue-to-a-document-object"></a>

Use the **Actions** button to select **Add Attachment...** in order to add a new Attachment to the Document Object. An Attachment form is displayed. Fill out the fields and use the browser button in the dialog to upload your Attachment.&#x20;

![](/files/-MOeWmY0Bqc_U6lYbDus)

Close the dialog to add the Attachment to the parent object. The new Attachment will be automatically traced from the Document Object and will appear in the Attachment tab in the Document Object form.

### Preview on Mouse Hover on Image Attachments

If the attached file is an image, use the mouse and hover over the preview icon in the File Attribute to get a popup containing a preview of the attached image file.

<figure><img src="/files/ZmCBRPKENHOejxVic7SP" alt=""><figcaption></figcaption></figure>

### Add an existing Attachment to a Document Object <a href="#add-an-existing-issue-to-a-document-object" id="add-an-existing-issue-to-a-document-object"></a>

Use the **Actions** button to select **Trace To...** and select the **Attachment** type name in the subsequent dialog. In the resulting Attachment list, select the Attachment to which you want to trace.

### Remove an existing trace to an Attachment <a href="#remove-an-existing-trace-to-an-issue" id="remove-an-existing-trace-to-an-issue"></a>

Use the **Actions** button to select **Trace To...** and select the **Attachment** type name in the subsequent dialog. In the resulting Attachment list, deselect the Attachment to which you want to remove the trace.

{% hint style="info" %}
Note! Removing the trace to an Attachment does not disable/delete the Attachment.
{% endhint %}

{% embed url="<https://youtu.be/fMm2EHvfyj0>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.aligned.ch/aligned-elements-web-client-user-manual/get-started/enter-design-control-items/add-attachments.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
