MIF File with same attributes
search cancel

MIF File with same attributes

book

Article ID: 267160

calendar_today

Updated On:

Products

CA Client Automation - IT Client Manager CA Client Automation CA Client Automation - Asset Management

Issue/Introduction

Is it possible to have in a MIF file, same attribute name but with different values ?

Environment

Client Automation - All versions

Resolution

Yes it is possible but the attribute should be put in different groups.
Each group should have a distinct ID number and all should have the same KEY, Name and Class
 
Example :
 
Start Component

 Name = "Temporary Internet Files"
 Description = "Temporary Internet Files"

 Start Group

  Name = "Temporary Internet Files"
  ID = 1
  KEY=1
  Class = "Temporary Internet Files" 
  Description = "Temporary Internet Files"

  Start Attribute
   Name = "User Name"
   ID = 1
   Description = "User Name"
   Type = String(64)
   Value = "jy"
  End Attribute

  Start Attribute
   Name = "Size (Bytes)"
   ID = 2
   Description = "Size"
   Type = Integer
   Value = 44090
  End Attribute

  Start Attribute
   Name = "Size (KBytes)"
   ID = 3
   Description = "Size"
   Type = Integer
   Value = 43
  End Attribute

 End Group

 Start Group

  Name = "Temporary Internet Files"
  ID = 2
  KEY=1
  Class = "Temporary Internet Files" 
  Description = "Temporary Internet Files"

  Start Attribute
   Name = "User Name"
   ID = 1
   Description = "User Name"
   Type = String(64)
   Value = "TEST_User2"
  End Attribute

  Start Attribute
   Name = "Size (Bytes)"
   ID = 2
   Description = "Size"
   Type = Integer
   Value = 28818
  End Attribute

  Start Attribute
   Name = "Size (KBytes)"
   ID = 3
   Description = "Size"
   Type = Integer
   Value = 28
  End Attribute

 End Group

End Component
This MIF file is displayed like this in Client Automation :