XperienceCommunity.ContactsImporter 1.0.0

dotnet add package XperienceCommunity.ContactsImporter --version 1.0.0
                    
NuGet\Install-Package XperienceCommunity.ContactsImporter -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="XperienceCommunity.ContactsImporter" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="XperienceCommunity.ContactsImporter" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="XperienceCommunity.ContactsImporter" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add XperienceCommunity.ContactsImporter --version 1.0.0
                    
#r "nuget: XperienceCommunity.ContactsImporter, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package XperienceCommunity.ContactsImporter@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=XperienceCommunity.ContactsImporter&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=XperienceCommunity.ContactsImporter&version=1.0.0
                    
Install as a Cake Tool

Xperience Community Contacts Importer

NuGet Package

Description

Enables bulk import and deletion of contacts in an Xperience by Kentico solution using a .csv file. Imported contacts can be automatically assigned to a contact group or recipient list during the import process.

This is a community-maintained fork of the original Kentico/xperience-by-kentico-contacts-importer, updated for .NET 10 and Xperience by Kentico 31.5.x.

Requirements

Dependencies

Package Installation

Add the package to your application using the .NET CLI:

dotnet add package XperienceCommunity.ContactsImporter

Quick Start

Add AddContactsImport() and UseContactsImport() to your application startup code:

builder.Services.AddContactsImport();
// ... other service registrations

app.InitKentico();
// ... other middleware
app.UseContactsImport();

Usage

  1. Open the Xperience administration, go to the Contact importer application (under Digital marketing).
  2. Choose the import kind (insert new contacts or delete existing contacts).
  3. (Optional) Select a contact group or recipient list to assign imported contacts to.
  4. Configure the CSV delimiter and batch size.
  5. Upload your .csv file and start the import.

CSV format

For inserts, the importer maps the following (case-insensitive) columns. Only ContactEmail is required:

ContactGUID, ContactCreated, ContactFirstName, ContactLastName, ContactEmail, ContactAddress1, ContactMiddleName

For deletes, only the ContactEmail column is used.

Logging

Import progress and errors are logged through Xperience's ILogger<> integration (see Kentico logging documentation). Errors that occur during an import — including per-record failures and web socket/producer/consumer failures — are written at the Error level, and each import logs an Information-level start and finish summary. These entries are visible in the configured logging providers (for example the Xperience Event log).

Building the admin UI client

The administration UI is a React/TypeScript client located in src/Admin/Client. The compiled bundle is emitted to src/Admin/Client/dist and embedded into the NuGet package.

To build the client manually:

cd src/Admin/Client
npm install
npm run build

The build is run automatically as part of dotnet build / Rebuild (see below), so a manual build is only needed when iterating on the client in isolation.

Building the project

This repository uses a .slnx solution file. To build the project:

dotnet build xperience-community-contacts-importer.slnx

The project's MSBuild targets automatically run npm install and npm run build for the admin client on every build/rebuild, so the embedded UI bundle is always up to date. To skip the npm build (for a faster .NET-only inner loop) pass:

dotnet build xperience-community-contacts-importer.slnx -p:SkipNpmBuild=true

License

Distributed under the MIT License. See LICENSE for more information.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 95 6/25/2026