# Save Notes metadata in CSV format

The CSV tool is used to merge the XML or JSON metadata generated by Seascape into a single or multiple CSV files.

To use the tool, download the zip package provided to you by SWING Software, unzip the package, and open the CSVTool.exe file:

<figure><img src="/files/8ox6r9HTiSgsxAE5Br47" alt=""><figcaption></figcaption></figure>

Once the tool is open, select the folder (the database archive) that contains the exported metadata, as source folder:

{% hint style="info" %}
If you are running the CSV tool on a disk archive, then the source folder must be the root folder containing the disk archive.
{% endhint %}

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

Next, select the destination folder where you would like the CSV file will be saved, or leave it as it and the CSV file will be saved in the source folder:

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

Finally select the CSV delimiter character you would like to use in the CSV file (typically a comma or a semi-colon) and select the **Create CSV** option, then click on **Next** button:

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

To start the conversion process, select the database archive (could be multiple in source folder) and click on **Run**.&#x20;

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

Once the process is completed you will receive a confirmation message. Clicking on the "OK" button will end the current process.

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

The generated CSV file is now saved in the selected destination folder:

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

Options:

* **Create CSV for each form:** By selecting this option, a CSV file will be created for each form.
* **Create CSV for each individual view:** By selecting this option, a CSV file will be created for each individual view.
* **Create CSV with all file paths:** Selecting this option will create a CSV file capturing the relative and full path to all documents and metadata files contained in the archive.
* **Create CSV for embedded views:** Selecting this option will create a CSV file capturing the relative and full path for embedded views.
* **Create CSV for attachments:** Selecting this option will create a CSV file capturing the relative and full path for attachments.

{% hint style="info" %}
in case you need to use either of these two options (create CSV for each form/for each individual view) then the source folder should point to a specific database archive, not root folder.
{% endhint %}

{% hint style="info" %}
If any issues are encountered during the data merge process an error message is displayed and the error is logged in the log file.
{% endhint %}

{% hint style="info" %}
If there are multiple databases in the archive and you would like to get the metadata only for one specific database, then you would need to select the root folder of that database (not the root folder of the archive) as the source folder.
{% endhint %}


---

# 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.swingsoftware.com/seascape-for-notes/archiving-with-seascape/metadata-into-csv-format.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.
