# Generate Reports

Reports in Aligned Elements are used for one-way exports of a selected set of Document Objects.&#x20;

## How to Generate an Excel Report

The Excel Report generates an Excel file (xslx) where each Document Object is displayed on a single row with one attribute per column (except Table attributes which are not displayed), all attributes are displayed in plain text.

Select the **Generate Excel Report** menu item in the corresponding View. Then select the Document Objects to include in the report.&#x20;

![](/files/-MOeurYpYyAegpntsA_x)

To include Document Objects from other Document Object Types in the operation, click **Select More...**&#x20;

Click **OK** when the selection is completed.

In the next dialog, select which aspects of the selected Document objects to include in the report.

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

After the selection is completed, select whether old revisions (not only the most current revision) shall be included in the report. In most cases, you will answer **No** in order to get only the latest revision of the selected document objects.

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

And finally, optionally add a comment to the report and click **OK**.

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

The report generation is started. The report will be downloaded to your computer.

## How to Generate a Word Report

The Word Report generates a Word document (docx) where the Document Object is displayed in a neutral look and feel.

Select the **Generate Word Report** menu item in the corresponding View. Then select the Document Objects to include in the report.&#x20;

![](/files/-MOev466Is69p6aLvafN)

Finally, click **OK** to start the report generation. The report will be downloaded to your computer.

## How to generate a Template based Word Report

The Template-based Word Report generates a Word document (docx) where the Document Objects are displayed using the default Word look-and-feel template configured for the type.

Select the **Generate Template-based Word Report** menu item in the corresponding View. Then select the Document Objects to include in the report.&#x20;

![](/files/-MOevGXzLlhM0K_V_EHA)

If variants of the Word look-and-feel templates exist, you must select which variant to use.

&#x20;

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

Finally, click **OK** to start the report generation. The report will be downloaded to your computer.

## How to automatically create a File object with a Word Document and auto-populate the document with the selected items

Use the option **Create File for Objects** to automatically create a new File Object. You will be asked to select a Word document to be used as target document. After selecting the Word document from your local computer or the Document Template directory, the selected Document Objects will be automatically inserted into the Word document in one single action.

### Automatically insert items at a dedicated location in the document

If the target document contains the sentence **<\<Aligned Elements objects are inserted here>>**, Aligned Elements will insert the objects at the location of this sentence &#x20;

If no such text exist in the target document, the objects will be inserted at the end of the document.&#x20;


---

# 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/document-object-actions/generate-reports.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.
