Update User Information Using CSV Data File
You can update existing user information that is in the Cisco Unified Communications Manager (Unified CM) database using a comma-separated value (CSV) data file you create using the Bulk Administration (BAT) spreadsheet, or you can update a user file format using a custom text-based CSV file.
You can retain existing user information and settings that were previously stored in the Unified CM directory.
Note |
You do not require a user template for the update users transaction using a custom text-based CSV file. If you choose a user template, the system takes the fields that are not provided in the CSV from the template for the update or else these fields are ignored. Also, if you specify another value for fields to be ignored (for example, #), then the fields with the value # are ignored, because blank is not a value to be ignored for such fields. The Bulk Administration Tool (BAT) cannot be used to disassociate devices that are already associated to an end user. If you manually delete a controlled device from an exported end user record and then insert the modified user record back in to the Cisco Unified Communications Manager database as a custom CSV data file, the insertion appears as successful when you check the job results using . However, the controlled device is still listed on the end-user page. |
Procedure
Step 1 |
Create a CSV data file to define individual values for each user that you want to update. |
Step 2 |
Use Unified CM BAT to insert the updated user records that are in the Unified CM database. |
Retain Existing User Information During Update
userid,#,department,,,123456789012,
To identify the value to use to retain a stored value, use the following procedure.
Procedure
Step 1 |
Choose .The User Update Configuration window appears. |
Step 2 |
Notice the Value for fields to be ignored field. When you insert the CSV data file with the updated user values, you must enter the symbol that you used to retain values in this box. |
Step 3 |
Decide the symbol that you want to use for retaining values. |
Step 4 |
Enter this value that is in the Value for fields to be ignored field into the BAT spreadsheet box. |
Step 5 |
Use this symbol in BAT spreadsheet fields for any values that you want to retain. |
Create User Update CSV Data File Using BAT Spreadsheet
You can create a CSV data file using the BAT spreadsheet to update a group of existing users.
After you add lines in the BAT spreadsheet, you can export the content to a CSV formatted data file. A default filename is assigned to the exported CSV formatted update users data file:
Update_Users-timestamp.txt
where
<timestamp>
represents the precise date and time
that the file was created.
The system saves the file with a default filename to C:\XlsDataFiles\, or you can save the file to another existing folder on your local workstation. You can rename the CSV formatted data file after you save the exported file to your local workstation. If you enter a comma in one of the fields, BAT.xlt encloses that field entry in double quotes when you export to BAT format.
Note |
You cannot upload a CSV filename that contains a comma (for example, abcd,e.txt) to the Unified CM server. If you enter a blank row in the spreadsheet, the system treats the empty row as the end of the file. Data that you enter after a blank line is not converted to the BAT format. |
The Bulk Administration Tool (BAT) cannot be used to disassociate devices that are already associated to an end user. If you manually delete a controlled device from an exported end-user record and then insert the modified user record back in to the Unified Communications Manager database as a custom CSV data file, the insertion appears successful when you check the job results using . However, the controlled device is still listed on the End User Configuration window in Cisco Unified Communications Manager Administration.
Procedure
Step 1 |
Download and open the BAT.xlt file. |
Step 2 |
When prompted, click Enable Macros to use the spreadsheet capabilities. |
Step 3 |
To add user information, click the Update Users tab at the bottom of the spreadsheet. |
Step 4 |
Complete all mandatory fields and any relevant, optional fields. |
Step 5 |
In the Value for fields to be ignored field, enter the symbol that you will use to tell BAT that you want to keep the value that was previously stored in the DC directory. Enter the same value in the value of the field you want to retain. |
Step 6 |
To transfer the data from the BAT Excel spreadsheet into a CSV file, click Export to BAT. The system saves the file to
C:\XlsDataFiles\ with the default filename
For information about how to read the CSV data file, click the View Sample File link in the Update Users window in BAT. |
What to do next
You must upload the CSV data file to the first node of the Unified CM server, so BAT can access the CSV data file.
BAT Spreadsheet Update User Data Field Descriptions
The following table provides the field descriptions for updating user details in the BAT spreadsheet.
Field |
Description |
||
---|---|---|---|
User ID |
Enter the last name, from 1 to 128 characters, of the phone user. |
||
Manager User ID |
Enter manager user ID, up to 128 characters, for the user of this phone. |
||
Password |
Enter the password, up to 128 characters, that the user needs to access the Cisco IP Phone Configuration window. You must specify the Password either in the CSV data file or by using the BAT user interface when you add the user template. If you want to apply individual passwords for each user or groups of users, specify the password information in the CSV data file. If you want to use a default password for all users, provide the default password when you insert the users in BAT. |
||
Department |
Enter the department number, up to 64 characters, for the user of this phone. |
||
Default Profile |
Enter the default profile for this user and device, up to 50 characters. You can choose the user device profile from the list of existing UDPs in Unified CM Administration that appears in BAT. |
||
User Locale |
Enter the language and country set, up to 50 characters, that you want to associate with this user. Your choice determines which cultural-dependent attributes exist for this user and which language displays in the Unified CM user windows and phones. |
||
Password |
Enter the password, up to 128 characters, that the user needs to access the Cisco IP Phone Configuration window. You must specify the password either in the CSV data file or by using the BAT user interface during user template addition. If you want to apply individual passwords for each user or groups of users, specify the password information in the CSV data file. If you want to use a default password for all users, provide the default password when you insert the users in BAT. |
||
PIN |
Enter the personal identification number (PIN), up to 128 numerals, to be used for extension mobility. You must enter a PIN either in the CSV data file or by using the BAT user interface during user template addition. If you want to apply individual PINs for each user or groups of users, specify the PIN in the CSV data file. To use a default PIN that all users can use, provide a default PIN when you insert the users in BAT. |
||
Telephone Number |
Enter the telephone number, up to 64 numerals, for the primary extension (usually Line 1) for the phone. |
||
Primary Extension |
This field appears after you add the user and represents the primary directory number for the user. You choose no primary line when you associate devices to the user. Users can have multiple lines on their phones. If you configure the system for Unity Integration, the Create Voice Mailbox link appears. |
||
Associated PC |
This field, which is required for Cisco SoftPhone and Unified CM Attendant Console users, displays after the user is added. |
||
IPCC Extension |
Enter an IPCC extension, up to 50 characters, for this user. |
||
Mail ID |
Enter the user e-mail address up to 255 characters. |
||
BLF Presence Group |
Enter the BLF presence group that watches the status of the database number, the presence entity. For information about the BLF Presence feature, see the Feature Configuration Guide for Cisco Unified Communications Manager . |
||
SUBSCRIBE Calling Search Space |
All calling search spaces that you configure in Unified CM Administration appear in the SUBSCRIBE Calling Search Space drop-down list box. The SUBSCRIBE Calling Search Space determines how Unified CM routes the Presence subscription requests that come from the user. To configure a calling search space specifically for this purpose, you configure a calling search space as you do all calling search spaces ( ). To set up a calling search space, see the Cisco Unified Communications Manager Online Help. |
||
Digest Credentials |
When you configure digest authentication for phones that are running SIP, Unified CM challenges the identity of the phone every time the phone sends a SIP request to Unified Communications Manager. The digest credentials that you enter in this field is associated with the phone when you choose a digest user in the Phone Configuration window. Enter a string of up to 128 alphanumeric characters. For more information about digest authentication, see the Cisco Unified Communications Manager Security Guide. |
||
User Group |
Enter the user group to which the user belongs.
|
||
Directory URI |
Enter the primary directory URI that you want to associate to this user's primary extension. Follow the username@host format. Enter a username of up to 47 alphanumeric characters. For the host address, enter an IPv4 address or fully qualified domain name.
|
||
Self-Service User ID |
The Self-Service User ID is a DTMF digit string that is used to identify a user (usually same as the user directory number). |
||
User Profile |
The User Profile is a profile that collects settings to share across a group of users. This profile is used when you create new devices. |
||
EM MAX LOGIN TIME |
Enter the maximum login time for Extension Mobility and Extension Mobility Cross Cluster users. Enter the value in minutes.The range of the value is from 0 to 10080 minutes (7 days). |