The following command demonstrates how to list all of the available attributes for a given class that can be used by the GRLOADER for input
The command which may be used is:
grloader -u ServiceDesk -p <password> -s http://<SDM-SERVER:PORT> -sc "<class>"
This will bring up all attributes for the given class entry which are available for the GRLOADER input file.
You have to replace <password> with the servicedesk password, <SDM-SERVER:PORT> with the SDM hostname/port combination, and <class> with the class name,
Example command to display the attributes for class File Cabinet, and resultant output (abridged for purposes of article readability)
C:\>grloader -u ServiceDesk -p <password> -s http://<SDM-SERVER:PORT> -sc "File Cabinet"
20:38:29.058 CI and Relationship Loader for CA Service Desk Manager R17.4
List of attributes in class(File Cabinet) extension(fac_furnx)
ATTRIBUTE NAME DATA TYPE
acquire_date Date
active_date Date
alarm_id STRING(64)
ambiguity Integer
asset_count Integer
asset_lifecycle_status SREL(ca_asset_lifecycle_status.name)
asset_num STRING(64)
audit_userid SREL(cnt.combo_name)
backup_services_contact_uuid SREL(cnt.combo_name)
billing_contact_uuid SREL(cnt.combo_name)
[omitted]
loc_cabinet STRING(30)
loc_floor STRING(30)
loc_room STRING(30)
loc_shelf STRING(30)
[omitted]
warehouse_loc STRING(50)
warning_msg STRING(0)
warning_msg STRING(0)
warranty_end Date
warranty_start Date
20:38:32.559 GRLoader ended