# Export to CSV File

**URL:** https://community.royalapps.com/t/export-to-csv-file/261
**Category:** Royal TS (for Windows)
**Tags:** tutorial
**Created:** [September 20, 2016, 6:56am UTC](https://community.royalapps.com/t/export-to-csv-file/261 "2016-09-20T06:56:04Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![system](https://community.royalapps.com/user_avatar/community.royalapps.com/system/32/244_2.png) [@system](https://community.royalapps.com/u/system)
#### Post date: [September 20, 2016, 6:56am UTC](https://community.royalapps.com/t/export-to-csv-file/261/1 "2016-09-20T06:56:04Z")

</div>

There’s a basic guide on how to export your document data to CSV in our help file. Out of the box, Royal TS will only export a pre-defined list of settings to the CSV file but the list of settings can be customized.

## Credentials, Command Tasks and Key Sequence Tasks

To customize the list for those object types, go to the Royal TS installation directory (by default `%ProgramFiles(x86)%\code4ward.net\Royal TS V3`) and open the `RTS3App.exe.config` file.

You will find the following sections:

```xml
<setting name="ExportFieldsCredential" serializeAs="String">
  <value>UserName,Password</value>
</setting>
<setting name="ExportFieldsCommandTask" serializeAs="String">
  <value>CommandLine,Arguments,WorkingDirectory,ShowInFavoriteTasks,NoConfirmationRequired</value>
</setting>
<setting name="ExportFieldsKeySequenceTask" serializeAs="String">
  <value>ShowInFavoriteTasks,NoConfirmationRequired</value>
</setting>

```

The value element contains a list of comma separated field names to be exported.

## Connection Types

To customize the list of fields for specific connection types, go to the directory `%appdata$\code4ward`

For each connection type you will find a subdirectory (the plugin GUID) and in there you will find a file `plugin.config`

**Remote Desktop:** `292bf111-8139-4db8-be1c-1890984374a7`  
**VNC (UltraVNC):** `2a8c244a-fd81-4b28-992f-3ecedd749a10`  
**VNC (TightVNC):** `546d2ed6-f539-4301-8c86-9b578c612a0b`  
**Terminal (Rebex):** `f4023e0c-511c-4785-9113-48509aa00d7c`  
**Terminal (PuTTY):** `107df0a3-eab8-40ee-87f2-cc8a310f9269`  
**Web Page:** `ace2829f-77a2-4757-a7fc-7ed05f78e1ff`  
**Performance View:** `19b06f23-ef05-4037-9c87-a72177332c38`  
**External Application:** `a6d57d9e-49ec-46ab-861d-bb9d88e85959`

Each `plugin.config` file contains a section called `ExportFields` which contains a comma separated list of fields to be exported.

## Extending and Customizing the List of Fields

After you have located the list of export fields to be customized, you need to figure out the field names of the settings you are interested in. The easiest way in the UI is by using the Key Sequence Task dialog:

 ![](https://community.royalapps.com/uploads/default/original/1X/15be67a2fde82f21b88b89a81d572e0699c8104c.png)

You can browse for fields, categorized and on a per connection basis using the **Insert** button. Once you selected a property (like shown above, the `Port` property of the Remote Desktop connection type) you will see the corresponding field name in the text box, surrounded by `$` signs.

**Note:** before you insert the field in the list of export fields, make sure you remove the `$` signs!
