Import users from a CSV file
When you import user details into
BlackBerry AtHoc
using a CSV file, the values that exist in the CSV file overwrite any existing values in the database. If the file contains blank fields, the current values in the database are replaced by empty values. Ensure that all required fields are populated before you upload the file.To import users from a file, the file must be correctly formatted. If you do not know how to format the file, see Format a user import file.
To import operators from a file, see "Importing and exporting operators" in the guide.
BlackBerry AtHoc
Operator Roles and PermissionsIf duplicate users (identified by username or mapping ID) are found in the CSV file, they are not imported and one of the following error messages is displayed:
[Username]: <username> already exists in the payload
[Mapping ID]:<mapping id> already exists in the payload
The remaining unique users in the CSV file are imported.
If a username contains a space or one of the following characters, the user is not imported and an error message is displayed:
[ ] : ; | = , + * ? < >
If the username contains leading or trailing spaces, the spaces are ignored and trimmed during the import process. After the spaces are trimmed, the user is imported.
You can import users to a super enterprise organization, enterprise organization, or suborganization.
- In the navigation bar, clickUsers>Users.
- On theUsersscreen, clickMore Actions>Import>Users.
- Optionally, clickDownload a template CSV fileto download a blank CSV file to use as a template for your import user file. Save the file to your computer and fill in the appropriate user information.Using the template ensures that all of the mandatory attribute columns are included in the import file.
- ClickBrowse.
- Navigate to the location of the import user file on your computer.
- Open the file to enter or modify the user data.Microsoft Excel hides some characters from view. If you edit the file inMicrosoftExcel, it might format your entries with extra characters. The incorrect format might cause the import operation to fail. If you are using anything other than a text editor to modify the CSV file, open the file in a text editor such asMicrosoftNotepad, review the syntax for problems, then save the modified file as a .txt file. Edit the file name to change the extension from .txt to CSV. This method preserves the formatting in the text file.
- Ensure that columns with multiple values have the correct format to import correctly.
- The entire entry must be enclosed within double-quotes. This rule is true even if a multi-select picklist has only a single entry.
- Use a comma to separate each value. Do not include spaces before or after the comma.
- Example: Two column names, separated by a comma (no space before or after the comma).POSITIONSis a multi-select picklist column:USERNAME,POSITIONS
- Example: A multi-select picklist attribute column with multiple entries:Cadiz,"ESH Team Tech Supv,FMT Coordinator,SITE 300,Exercise Call Out,Field Monitoring Team,Coordinator DOC"
- Example: A multi-select picklist attribute with a single entry:East,"LEDO"
- An entry can have a space within it. For example:Field Monitoring Team
- Verify that columns with multiple values have the correct format to import correctly.
- Use a comma to separate each value. Do not include spaces before or after the comma.
- If you are importing user base restrictions, you must enclose each value with double quotation marks ("").
- Optionally, make sure that any geolocation attributes in the CSV file are in the correct string address, "Latitude,Longitude" or Point(long,lat) format. For example:
- 311 Fairchild Drive, Mountain View, CA
- "37.538226,-122.32726"
- POINT(-122.32726,37.538226)
- (Optional, for super enterprise or enterprise organizations with user uniqueness enabled.) If you want to prevent users from being moved between organizations after you have imported them, include thePrevent User Movecolumn, and enterYesfor all users.
- After you have entered your data, save and close the file.
- Click the filename, and clickOpento upload the file into the system.The filename appears in the User CSV File field on the Import User File screen. Each of the columns from the import file are listed in theSelect the columns to importsection.
- Optionally, selectPartial User Import Enabledto enable partial user data to be imported. When selected, if a user entry contains an invalid value, the rest of the user's data is still imported.Even if you do not select this option, partial user import is still applied when importing geolocation attributes that use a physical address.
- Select the columns of data you want to import or clickSelect All.
- Review theColumns that cannot be importedlist to make sure it does not contain important data that you must be able to view inBlackBerry AtHoc. If the list contains important columns of information, contactBlackBerry AtHoccustomer support for help.
- ClickImport.
The Importing Users window opens. The import happens in batches of 5000 users.
While the import is in progress, a
Stop Import
button appears on the Importing Users
window. Clicking this button stops the import process immediately and prevents the next batch of users from being imported from the file. However, records that have already been added are not removed and records that have been updated are not restored to previous values.When the import completes, an import summary screen displays following information:
- Total number of users in the import file
- Total number of users who were processed
- Number of users who were successfully processed
- Number of users who were partially processed
- Number of users who failed to be processed
- Username of the person who imported the file
- Time the file import process started and ended
To import and export operators, see "Importing and exporting operators" in the guide.
Click
Download Log
on the Import Details: Import Completed screen to download a CSV file that includes information about the sync status of the operator import.