> ## Documentation Index
> Fetch the complete documentation index at: https://docs.arc.cdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XML Map Configuration

> All configurable properties for the XML Map connector in CData Arc.

export const MiscConnector = () => <>
    <p><em>Miscellaneous settings are for specific use cases.</em></p>
    <table>
      <thead>
        <tr>
          <th>Setting</th>
          <th>Description</th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td><strong>Other Settings</strong></td>
          <td>Enables you to configure hidden connector settings in a semicolon-separated list (for example, <code>setting1=value1;setting2=value2</code>). Normal connector use cases and functionality should not require the use of these settings.</td>
        </tr>
      </tbody>
    </table>
  </>;

export const Logging = () => <>
    <p><em>Settings that govern the creation and storage of logs.</em></p>
    <table>
      <thead>
        <tr>
          <th>Setting</th>
          <th>Description</th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td><strong>Log Level</strong></td>
          <td>The verbosity of logs generated by the connector. When you request support, set this to <strong>Debug</strong>.</td>
        </tr>
        <tr>
          <td><strong>Log Subfolder Scheme</strong></td>
          <td>Instructs the connector to group files in the Logs folder according to the selected interval. The <strong>Weekly</strong> option (which is the default) instructs the connector to create a new subfolder each week and store all logs for the week in that folder. Leaving this setting blank tells the connector to save all logs directly in the Logs folder. For connectors that process many transactions, using subfolders helps keep logs organized and improves performance.</td>
        </tr>
        <tr>
          <td><strong>Log Messages</strong></td>
          <td>Check this to have the log entry for a processed file include a copy of the file itself. If you disable this, you might not be able to download a copy of the file from the <strong>Transactions</strong> tab.</td>
        </tr>
      </tbody>
    </table>
  </>;

export const NameDescription = ({extraRows}) => <table>
    <thead>
      <tr>
        <th>Setting</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><strong>Connector Id</strong></td>
        <td>The static, unique identifier for the connector.</td>
      </tr>
      <tr>
        <td><strong>Connector Type</strong></td>
        <td>Displays the connector name and a description of what it does.</td>
      </tr>
      <tr>
        <td><strong>Connector Description</strong></td>
        <td>An optional field to provide a free-form description of the connector and its role in the flow.</td>
      </tr>
      {extraRows}
    </tbody>
  </table>;

## XML Map Tab

Use this tab to upload your source and destination template files, and to build your mappings. See [Configure the Mapping](../../mapping/mapping-config) in the [Mapping](../../mapping/mapping) documentation for detailed instructions on how to use the mapping editor.

## Settings Tab

### Connector Configuration

Settings related to the core operation of the connector.

<NameDescription />

## Advanced Tab

### Advanced Settings

Advanced file processing settings.

| Setting              | Description                                                                                                                                                                                                                                                                                                                                                       |
| -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Processing Delay     | The amount of time (in seconds) the connector waits before processing a file.                                                                                                                                                                                                                                                                                     |
| Local File Scheme    | Instructs the connector to group files in the local folder according to the selected interval.                                                                                                                                                                                                                                                                    |
| XML Declaration      | Specify whether to include the XML declaration in generated XML files.                                                                                                                                                                                                                                                                                            |
| Customize AI Prompts | Check this to override the default System Prompt and User Prompt content that the AI-assisted mapping uses to create the mappings between the source and destination documents. When unchecked, the connector uses the default prompts to generate the mappings. The default prompts are shown in the text boxes when the checkbox is enabled for the first time. |

### Logging

<Logging />

#### Miscellaneous

<MiscConnector />

## Automation Tab

### Automation Settings

Settings related to the automatic processing of files by the connector.

| Setting | Description                                                                            |
| ------- | -------------------------------------------------------------------------------------- |
| Send    | A toggle that instructs the connector to automatically send files when they are ready. |

#### Performance

| Setting     | Description                                                        |
| ----------- | ------------------------------------------------------------------ |
| Max Workers | The maximum number of worker threads consumed from the threadpool. |
| Max Files   | The maximum number of files sent by each thread.                   |

## Alerts Tab

Before you can execute Service Level Agreements (SLAs), you need to set up email alerts for notifications. By default, Arc uses the global settings on the [Alerts](../../getting-started/administration/settings/settings-page#alerts) tab. To use other settings for this connector, toggle **Override global setting** on.

By default, error alerts are enabled, which means that emails are sent whenever there is an error. To turn them off, uncheck the **Enable** checkbox.

Enter a **Subject** (mandatory), then optionally enter a comma-separated list of **Recipient** emails.

## SLAs Tab

SLAs enable you to configure the volume you expect connectors in your flow to send or receive, and to set the time frame in which you expect that volume to be met. CData Arc sends emails to warn the user when an SLA is not met, and marks the SLA as *At Risk*, which means that if the SLA is not met soon, it will be marked as *Violated*.

To define an SLA, toggle **Expected Volume** on, then click the **Settings** tab.

* If your connector has separate send and receive actions, use the radio buttons to specify which direction the SLA pertains to.
* In the **Expect at least** portion of the window, set the minimum number of transactions you expect to be processed, use the **Every** fields to specify the time frame, indicate when the SLA should go into effect, and check the boxes for the days of the week.
* In the **Set status to 'At Risk'** portion of the window, specify when the SLA should be marked as at risk. Check **Send an 'At Risk' notification** to receive notifications before violation.

<Note>You can turn off SLA alerts during maintenance windows. Click **Settings** on the navbar, then navigate to **Alerts > General Alerts**. Click the tablet and pencil icon to edit, and uncheck the **SLA Alerts** setting.</Note>

## Macros

| Macro         | Description                                                       |
| ------------- | ----------------------------------------------------------------- |
| ConnectorID   | The Connector ID of the connector.                                |
| Ext           | The file extension of the file (e.g., `xml`, `csv`).              |
| Filename      | The original filename of the message.                             |
| FilenameNoExt | The original filename of the message, without the file extension. |
| MessageId     | The unique identifier assigned to the message.                    |
| RegexFilename | A filename derived from a regex on the original filename.         |
| Header        | The value from a message header, referenced by name.              |
| LongDate      | The current date/time in long format.                             |
| ShortDate     | The current date/time in short format.                            |
| DateFormat    | The current date/time in a custom format.                         |
| Vault         | The value from a vault entry, referenced by name.                 |
