Previous Topic: Example: Load CI RelationshipsNext Topic: Example: Create a CI and a Relationship by Specifying the UUID


Example: Load a CI with Multiple Embedded Relationships

Use GRLoader to load a spreadsheet that contains CIs and relationships using embedded relationships. If you want to specify more than one identifying attribute, you cannot use embedded relationships.

In the following example, the name column begins on row A1 in Sheet11 of grloader_sample_spreadsheet.xls:

name

class

manages

is managed by

chief

manager

 

 

agent99

agent

 

 

agent86

agent

 

 

chief

manager

agent86;agent99

CEO

Load the data with GRLoader by executing the following command:

grloader -u username -p password -s http://sdm-host:8080 -i grloader_sample_spreadsheet.xls -sss Sheet11 -aer yes -n

GRLoader creates the following CIs and relationships: