Use the Command Line Interface feature to Import Sites .

To import Sites,

  1. Go to Accessing the Command Line Interface if you have not already done so. At the command line, you must enter the command to import sites.  For example: importSites <network name> inputfile

  2. Now, enter the appropriate command to import Sites. Make sure the format and syntax is exactly as shown in the following example.

cmd >importSites <network name> inputfile

Notes:

  • First parameter: <network name> is a valid network name already existing in VoyencControl NG If the network name contains any spaces or other special characters, you must enclose the name using double quotes ( "). For example, if the network name is Network A, then the network name would appear as "Network A".

  • The input file names should be quoted only if the file name has special characters - this applies to various commands.  

  • Second Parameter : inputfile is a comma separated file.  The following table describes sample content.

  • The first two columns (designated with an *) are mandatory.  

  • The third example below, shows a way to create a sub-site.  If you already had a site named Site A, you can add sub sites using this syntax SiteA%SiteB, where SiteB is the sub-site

*Use the horizontal scroll bar to view all the columns within the table.

SITE_NAMES

SITE_TYPES

SITE_DESCRIPTION

CONTACT_NAME

CONTACT_PHONE

CONTACT_ EMAIL

ADDRESS1

ADDRESS2

CITY

STATE

ZIP

COUNTRY

TestGeo

SiteA

SiteA%SiteB

Geographic

Building

Room

VC Created This

VC Created This

Building Site

VC Created This

Building Site

VC

VC

VC

972-759-4000

972-759-4000

972-759-4000

[email protected]

[email protected]

1801 N. Glenville

1801 N. Glenville

Richardson

Richardson

TEXAS

TEXAS

75081

75081

USA

USA

SiteA%SiteB%SiteC

Rack

VC Created This

Building Site

VC

972-759-4000

[email protected]

1801 N. Glenville

Richardson

TEXAS

75081

USA

In case of errors, the logs to be inspected are commandLineUtil.log and bulksite.log in directory INSTALLATION_DIR/logs.

Sample File Content for Import Sites

SITE_NAME,SITE_TYPE,SITE_DESCRIPTION,CONTACT_NAME,CONTACT_PHONE,

CONTACT_EMAIL,ADDRESS1,ADDRESS2,CITY,STATE,ZIP,COUNTRY

TestGeo,Geographic,VC Created This,VC,972-759-4000,,,,,,,

SiteA,Building,VC Created This Building Site,VC,972-759-4000,[email protected],

1801 N.Glenville St,,Richardson,TX,75081,USA

If you already had a site named Site A, you can add sub sites using this syntax:

SiteA%SiteB,Room,VC Created This Building Site,VC,972-759-4000,[email protected],

1801 N.Glenville St,,Richardson,TX,75081,USA

SiteA%SiteB%SiteC,Rack,VC Created This Building Site,VC,972-759-4000,[email protected],1801 N.Glenville St,,Richardson,TX,75081,USA

Additional Information:

When importing Sites, any contact information appears grayed out (not accessible).  If you are loading contact information with your Sites, you must go into the application and manually click the Override button for those sites. This then allows you to select or change the contact information.