Getting an error ?Attributes(Alt CI ID) do not apply to class(Server)? when trying to update resource_tag field of a CI using GRLoader

Document ID : KB000033284
Last Modified Date : 14/02/2018
Show Technical Document Details

Issue:

When trying to update the resource_tag field using GRLoader with the below example sheet:

1.jpg

It returns an error in the in the error file:

 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> 
<GRLoader> 
<ci> 
<!--WARNING: Attributes(Alt CI ID) do not apply to class(Server) family(Hardware.Server)--> 

 

Environment: 

-        WINDOWS 2008/2012

-        R12.X, 14.X

 

 

Cause:

The attribute resource_tag is a DB attribute and cannot be detected by GRloader. You need to make use of object-level attribute'asset_num' is the object level attribute for 'resource_tag'.  In addition to the above attributes, you need to add another attribute 'id' for identifying the CI. If the 'id' value is not available in the excel sheet, the updates will not happen because the code checks in the Database for the CI with the values given in excel sheet. 

 

Resolution:

 To resolve the error, include the following fields which are mandatory to update resource_tag in the excel sheet:

name 
serial_num 
asset_num 
class 
id 

2.jpg

With the updated excel sheet, you should be able to run the GRLoader command to update the resource_tag field of a CI.