Enables bulk importing of Contacts into an Xperience by Kentico solution using a .csv
file.
-
Xperience by Kentico >= 26.3.2
Add the package to your application using the .NET CLI
dotnet add package Kentico.Xperience.Contacts.Importer
builder.Services.AddKentico();
// ... other registrations
services.AddContactsImport();
app.InitKentico();
// ... other registrations
app.UseContactsImport();
- open contact importer application
- select file
- select mode
- Delete - this mode will delete contact by ContactGUID (CSV shall contain column with ContactGUID header)
- Insert (skip existing) - this mode will import contacts (CSV shall contain column with ContactGUID)
- "Assign to contact group" - all contact (existing included) will be assigned to specified group
- Delimiter - delimiter used for CSV (common are
;
,,
,\\t
, ..) - "Batch size" - size of batch used for database operation, for instances with limited resources this value should not exeed 5000, lower than 100 is not reccomended.
- Click "Send file" button
Depends on resources available to application, but degraded application performance is expected during import.
Notes:
- do not close window with progress, file is uploaded from that window.
- do not manipulate file during import, close all applications write access to file (or lock)
Column | .NET Type | Required |
---|---|---|
ContactGUID | Guid | yes |
ContactCreated | DateTime | yes |
ContactFirstName | string | no |
ContactLastName | string | no |
ContactEmail | string | no |
ContactAge | Int32 | no |
ContactMiddleName | string | no |
For Contributing please see CONTRIBUTING.md
for more information and follow the CODE_OF_CONDUCT
.
-
.NET SDK >= 7.0.109
-
Node.js >= 18.12
Distributed under the MIT License. See LICENSE.md
for more information.
This contribution has Full support by 7-day bug-fix policy.
See SUPPORT.md
for more information.
For any security issues see SECURITY.md
.