Importing CIs from CSV files
If your CI data is stored elsewhere, you can use comma-separated values (CSV) files to import the CIs and CI relationships into FootPrints where your users can access them and link to them. You can populate the Assignment type field values with users or teams. If you want to import multiple values for the Assignment type field, the values must be separated by a semi-colon (;), for example, User1;User2;Team3.
You cannot import users for the Assignment field in the following format:
In FootPrints, you have two options to import Boolean fields:
- Yes—the check box is selected.
- No—the check box is cleared.
However, to import Boolean fields using a CSV file, you must specify the values in the following format:
- TRUE for Yes value of the field.
- FALSE for No value of the field.
While importing CIs, it is mandatory to map the Name column, or the CI import fails.
For more information about importing CI relationships, see Importing CI relationships from CSV files.
To import CIs from CSV files
- Click the Administration tab.
- In the System Management section, click Import.
The Task Scheduler page appears, showing a list of scheduled tasks and their status.
- Click New Task and select Import Task > Configuration Items.
The Import CI page appears, showing the Source Type pane.
- In the Source Type field, select Text (CSV).
- In the left pane, click Source Configuration.
The Source Configuration pane appears.
- In the Source Configuration pane, complete the following fields:
- In the File Location field, select the location.
Options are Local Directory, Network Server, and Web.
- In the Data Encoding field, select the encoding method.
Options are Server default and UTF-8.
- Based on the option that you selected in the File location field, identify the source file:
- If you selected Local Directory, in the Upload Source File field, click Browse to select the location of the source file and then click Open. A progress message appears, followed by a confirmation message. Click OK.
- If you selected Network Server, in the URL for Source File field, enter the URL and click Search Network to verify it. If there is no drive mapped to a location on another server, enter the UNC path as
\\<Server Name>\<Location on Server of csv file>\
- If you selected Web in the URL for Source File field, enter the URL and click Search Web to verify it.
- In the File Location field, select the location.
- In the left pane, click Data Destination.
The Data Destination pane appears.
- In the Data Destination pane, complete the following fields:
- In the Import into CMDB field, select the CMDB where you want to import the CIs.
- (Optional) To search existing contacts for matches and link the imported CIs to them:
- Select Link imported CIs to matching entries in Address Book.
- In the Address Book field, select from the address books associated with the selected CMDB.
- In the Contact Type field, select the appropriate contact item.
- In the left pane, click Map Fields.
The Map Fields pane appears.
- In the Map Fields pane, complete the following fields:
- (Optional) If the data file has a header row, select My data file has a header row.
- Based on the option that you selected, perform one of the following:
- If you did not select to link the imported CIs to an address book, proceed to step c.
If you selected to link the imported CIs to an address book, the Link to Address Book section appears. Complete the fields:
- In the Map data source file field, select the source field that you want to map.
- In the To this Address Book field, select the target field in the Address Book.
- In the Map CI Type Rules section, perform the following actions:
- In the Default CI Type field, select select the CI type from the options defined defined for the selected CMDB and click Add.
- If you want to customize the import process, perform steps iii through vi. If you want to use the default import process, continue with step 10e.
With the default process, all CIs are assigned the default CI type.
- In the If Column field, select a condition.
- In the Contains Text field, type the text to match.
- In the Set CI Type as field, select the CI type that will be assigned to the imported records.
- Click Update.
- Repeat steps i through vi to add as many rules as you need.
- In the Map Attributes section:
- Click Add.
- Select values for Attribute and Source Field. You must map at least one attribute.
The available values are based on the selections already made on this page. The Attribute Type field is read-only.
- In the Status for all CIs section, in the Status field, select the initial status for the uploaded CIs.
- (Optional) To update existing CIs, select Update the Status for Existing CIs.
- In the Unique Key section, select the fields in the Source Columns list that are used as unique keys and move them to the Unique Key list.
- In the left pane, click Schedule Task.
The Schedule Task pane appears.
Complete the fields:
In the Task Name field, enter a specific name for this task.
(Optional) In the Notes field, enter any useful information about this task.
(Optional) In the Notify by Email field, enter the email addresses of anyone who should be notified when this task runs.
You can also enter an agent's user name to send notification to the agent's primary email address. Separate multiple user names and email addresses with semicolons. A notification is sent about import outcome and includes result, task name, date, and so on. The notification also includes the number of records that were rejected, created, updated, and unchanged.
(Optional) Select whether to run this task immediately or at a specific time, and whether and when to run it again.If you do not select any settings, the task will only run manually. For more information, see Scheduling tasks.
- Click Schedule Task.
Your selections are validated by the system. If no errors are found, the Task Schedule page appears. Local files that won't change between scheduling and running are validated immediately. Web and network server files are validated at run-time. Next Run Time is the next or first time a task will be run.
To import the relationships for these CIs, follow the instructions provided in Importing CI relationships from CSV files.