js-importcontacts

Top  Previous  Next

The js-importcontacts command may be used to perform bulk import of contacts stored in CSV file format.

 

Usage: js-importcontacts [-options]

 

Options:

 

-d the domain name

-f file to import

-h display this help menu

-s skip bad lines

 

If js-importcontacts command is run without options then user will be prompted for necessary information.

 

 

File Format

 

Import file should be plain text with comma separated values and each contact on a new line.  Non-required fields may be omitted.

 

Column #

Column Description

Required

Example

1

The full name of contact.

Yes

John Smith

2

The contact email address.

Yes

jsmith@domain.com

3

The contact company.

No

ABC Corp

4

The login of contact owner.

No

admin

 

Example

 

John Smith,jsmith@domain,ABC Corp,admin
Henry Jones,hjones@domain,XYZ Corp