> For the complete documentation index, see [llms.txt](https://help.security.gallagher.com/knowledge-hub/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.security.gallagher.com/knowledge-hub/products/cc-software/configure/interface-options/import-cardholders-with-the-legacy-import-export-feature.md).

# Import cardholders with the legacy Import/Export feature

Set up the legacy Import/Export feature and import cardholder details with it.

Set up the old **Import/Export** feature and import cardholder details with it.

{% hint style="warning" %}
The Import/Export feature is **no longer supported from 8.70 and above**. The replacement is the [Enterprise Data Interface](https://help.security.gallagher.com/knowledge-hub/products/cc-software/configure/interface-options/enterprise-data-interface-edi.md) or the [REST API](https://help.security.gallagher.com/knowledge-hub/products/cc-software/configure/interface-options/api/representational-state-transfer-rest-api.md). See [Command Centre XML Import/Export service obsolescence - June 2021](https://help.security.gallagher.com/knowledge-hub/products/product-advisories/historical-notices/command-centre-software-and-integrations/command-centre-xml-import-export-service-obsolescence-june-2021.md).
{% endhint %}

**Tested environment:** Windows 10 Pro, CC version 8.40.

If the import fails, look up the error number in [Legacy cardholder Import/Export fails with an error number](https://help.security.gallagher.com/knowledge-hub/products/cc-software/troubleshoot/command-centre-errors/cardholder-import-export-error-numbers.md).

### Prerequisites

**Licence:** `ImportExport=1`

![Server Properties, Licensing, Features tab: ImportExport is Enabled; the licence holder's name in the title bar is covered](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-5f512a7477236bcf9f141a70fc1463c0c2188fab%2FSECHUB-TS-IMPORT-EXPORT-01-licence-importexport-enabled.png?alt=media)

**The Import/Export Service should be running.**

![Service Manager menu, Services: Stop Import/Export Service is offered, so the service is running](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-2026b304666af819823a97d44fc8118b83eb2cdf%2FSECHUB-TS-IMPORT-EXPORT-02-import-export-service-running.png?alt=media)

**Operator privileges:**

* To import cardholder details: "Create and Edit Cardholders", "Edit Cardholder Notes", "Modify Access Control".
* To export cardholder details: "View Cardholders".

**.NET Framework 3.5 is required.** If it is not installed, it will be downloaded and installed via the Internet when running **Map file Creator 7\_80\_008**.

### Create an operator to import and export cardholder details

1. Create a cardholder (operator) and an operator group as shown below:

   ![XML cardholder, Operator Configuration: member of the XML Operator Group, Command Centre logon ticked, logon name XML, password set, force password change at next logon ticked](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-78e1ae7dfc89695a2b92c6de8f2d6711cafeadaf%2FSECHUB-TS-IMPORT-EXPORT-03-xml-operator-cardholder.png?alt=media)

   ![XML Operator Group, Operator Privileges: Create and Edit Cardholders, Edit Cardholder Notes, Modify Access Control, View Cardholders](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-a0c56de20760574aa3980350c1dce6d32c1e0e9c%2FSECHUB-TS-IMPORT-EXPORT-04-xml-operator-group-privileges.png?alt=media)
2. Create a unique value in a Personal Data Field (PDF) with the **Numeric** or **Text** data type.

   ![ID personal data field, Type page: data type Numeric, Unique Values ticked](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-5bb64336ca7a037a16b661b6948501940bf4ab9b%2FSECHUB-TS-IMPORT-EXPORT-05-pdf-unique-numeric.png?alt=media)
3. **Configuration Client → Server Properties → Import** → select the unique value.

   ![Server Properties, Import page: Third Party ID set to ID, the personal data field used as the unique key when importing cardholders; the name in the title bar is covered](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-0ce373bb9c638cfc1983950bd3d622c857c84441%2FSECHUB-TS-IMPORT-EXPORT-06-server-properties-import.png?alt=media)
4. Run `CCFTDataManager.exe` from `C:\Program Files (x86)\Gallagher\Command Centre\Bin`.

   ![File Explorer in C:\Program Files (x86)\Gallagher\Command Centre\Bin with CCFTDataManager.exe selected](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-64385e853e6dfaf8ec6007827e15545c9dfae25a%2FSECHUB-TS-IMPORT-EXPORT-07-ccftdatamanager-in-bin.png?alt=media)
5. Create a logon name and confirm the password, if this is the first time this has been run on this server.

   **Note:** this logon name and password are not aligned with the operating system or Command Centre.

   ![Command Centre Import / Export Configuration Logon: on first run, enter a logon name and password, then confirm the password](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-a4e7382314aef308c9063419b111795b9e3ead7a%2FSECHUB-TS-IMPORT-EXPORT-08-configuration-logon-first-run.png?alt=media)
6. Select **Add Operator** and add the operator and password created in step 1.

   ![Command Centre - Import / Export Configuration window with the Add Operator button highlighted](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-789081f4b105e4cd123b3eb3563322a8f22500b1%2FSECHUB-TS-IMPORT-EXPORT-09-add-operator.png?alt=media)

   ![Operator dialog: logon name XML, the password entered and confirmed](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-1acd82854b362d170bb42ca95fead7fd2d2b9956%2FSECHUB-TS-IMPORT-EXPORT-10-operator-logon.png?alt=media)
7. Select **Set Remote Server** and enter either `127.0.0.1` or the name of the Command Centre PC, then select **OK**. Close `CCFTDataManager.exe`.

   ![Remote Server dialog: Server Name 127.0.0.1](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-9c5b52476fc6c45c2fa98bc2ae47f869794fc12b%2FSECHUB-TS-IMPORT-EXPORT-11-set-remote-server.png?alt=media)
8. Copy the `Import_Export` directory from `Installation Media\Utilities\Import Export\Import_Export` to `C:\Program Files (x86)\Gallagher\Command Centre\Import_Export`.

   ![Two File Explorer windows: Utilities\Import Export on the installation media (Import\_Export, Map file Creator 7\_80\_008, Import\_User Guide.chm, ImportSDK.chm) and the Gallagher\Command Centre folder with Import\_Export](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-51b0d057ab806f47a428878b42e077afe7bbcd86%2FSECHUB-TS-IMPORT-EXPORT-12-copy-import-export-folder.png?alt=media)
9. Select **Replace the files in the destination**.

   ![Replace or Skip Files: copying 44 items from Import Export to Command Centre, Replace the files in the destination](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-c59ad4cc0a2eae789d762a84bba86a96d83d03a0%2FSECHUB-TS-IMPORT-EXPORT-13-replace-files.png?alt=media)
10. Copy `Coordinator.js` from `C:\Program Files (x86)\Gallagher\Command Centre\Import_Export\Scripts` to a safe place.
11. Right-click `Coordinator.js` and select **Properties**. Untick **Read-only**, then select **Apply** and **OK**:

    ![Coordinator.js Properties, General tab: Read-only unticked, Apply highlighted](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-09e43d1fa273d4fa26f6e93a2e90d6558cfc5208%2FSECHUB-TS-IMPORT-EXPORT-14-coordinator-read-only-off.png?alt=media)
12. Right-click `Coordinator.js` and select **Edit**.

    **Note:** do not double-click the file, as this will run the script.

    ![Right-click menu on Coordinator.js with Edit highlighted](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-c6939a328f86ad422a2c8267af51ef8f0c627909%2FSECHUB-TS-IMPORT-EXPORT-15-coordinator-edit.png?alt=media)
13. Change `"BSmith"` to the operator created previously, for example `"XML"`. Save it. Copy it back to `C:\Program Files (x86)\Gallagher\Command Centre\Import_Export\Scripts`.

    ![Coordinator.js in Notepad: under //Operator in CCFT, the line var loginName = "BSmith" is commented out and var loginName = "XML" added](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-daa3f2a56d0e5454c453ad5947c73645ce71ab74%2FSECHUB-TS-IMPORT-EXPORT-16-coordinator-login-name.png?alt=media)

### Import cardholder details

1. Open `notepad.exe` and enter some sample data, as below.

   **Note:** no spaces are needed. When you finish the last input, leave the cursor where it is: do **not** press Enter to create an empty line.

   ![ImportCardholders.csv in Notepad: three lines, 100001,XML1,FirstName1,CardHolders to 100003,XML3,FirstName3,CardHolders](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-f7d9754937a4b3a7a720908fd7f502214d99c8f7%2FSECHUB-TS-IMPORT-EXPORT-17-sample-csv.png?alt=media)
2. **File → Save As…**, and save `ImportCardholders.csv` on your desktop.

   **Note:** make sure the file extension is `.csv` and the encoding is **ANSI**, as shown below.

   ![Save As dialog: file name ImportCardholders.csv, save as type All Files, encoding ANSI](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-fd700187bb38662c6f5d2c0a4209a2b5e67140e2%2FSECHUB-TS-IMPORT-EXPORT-18-save-csv-ansi.png?alt=media)
3. Move `ImportCardholders.csv` to `C:\Program Files (x86)\Gallagher\Command Centre\Import_Export\Incoming\Cardholder`.
4. Run `ImportExportMapCreator.exe` from `Installation Media\Utilities\Import Export\Map file Creator 7_80_008`.

   **Note:** if .NET Framework 3.5 (includes .NET 2.0 and 3.0) is not installed on the server, it will be downloaded and installed via the Internet.

   ![Windows Features: an app on your PC needs .NET Framework 3.5 (includes .NET 2.0 and 3.0), with Download and install this feature](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-f422f20a4ffab921270e0ece85de86209a046959%2FSECHUB-TS-IMPORT-EXPORT-19-dotnet-35-prompt.png?alt=media)
5. Select the **Add PDF** button.

   ![Import / Export Map Creator, empty, with the Add PDF button highlighted](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-b9a35112fdd14eaf5dc8e0abd8c6e18dd1538ddb%2FSECHUB-TS-IMPORT-EXPORT-20-map-creator-add-pdf.png?alt=media)
6. Make sure it matches the unique value you created as a PDF in Command Centre.

   ![Custom Field dialog: Field Name (as in Command Centre) ID, Data Type Numeric](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-b9eaa6bbfe3d32c468ab142b088e74d3fd8479dd%2FSECHUB-TS-IMPORT-EXPORT-21-custom-field-id.png?alt=media)
7. Select the unique value for **Unique Field**, and select **FirstName** and **LastName**.
8. Increase **Access Groups Per Cardholder** to 1 and select **Name**. Select **AccessGroup Name (1)** and enter the name of the access group.
9. Select the **Create Map File** button and save `CardholderCSV2XMLMap.xml` on your desktop.

   **Note:** make sure the **Date Format** matches your system.

   ![Map Creator set up: FirstName and LastName ticked, PDF ID (Numeric), Access Groups Per Cardholder 1 with Name ticked; map file template columns 1 ID, 2 FirstName, 3 LastName, 4 AccessGroup Name (1); Unique Field ID; field 4 AccessGroup with default value CardHolders; Date Format dd/mm/yyyy; status line "Map file created successfully"](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-b4cca784a60be8be8ddf8f8eb639cdf36ff73f17%2FSECHUB-TS-IMPORT-EXPORT-22-map-creator-configured.png?alt=media)
10. Copy and paste `CardholderCSV2XMLMap.xml` to `C:\Program Files (x86)\Gallagher\Command Centre\Import_Export\Maps`.

    **Note:** do **not** change the file name.
11. Double-click `Coordinator.js` in `C:\Program Files (x86)\Gallagher\Command Centre\Import_Export\Scripts`. Make sure the new cardholders have been created.

    ![Event Viewer: Operator "XML" Added Cardholder "FirstName1, XML1" to "FirstName3, XML3", and each membership activated for "CardHolders"](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-1e7e1d769beb78cf92198963b58e23c364f9d992%2FSECHUB-TS-IMPORT-EXPORT-23-events-cardholders-added.png?alt=media)

    ![Cardholder list showing the XML operator and the new cardholders XML1, XML2 and XML3; the other rows are blacked out in the source picture](https://328339335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bM8WhlBE9BYizPWJaPN%2Fuploads%2Fgit-blob-ab729feb5221148e23e359acf530a172adb2ffae%2FSECHUB-TS-IMPORT-EXPORT-24-cardholders-created.png?alt=media)

If you see a script error when running `Coordinator.js`, see [Legacy cardholder Import/Export fails with an error number](https://help.security.gallagher.com/knowledge-hub/products/cc-software/troubleshoot/command-centre-errors/cardholder-import-export-error-numbers.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.security.gallagher.com/knowledge-hub/products/cc-software/configure/interface-options/import-cardholders-with-the-legacy-import-export-feature.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
