NRI エージェント内で使用されるテンプレート ファイルを作成します。 この例として、Asset Management からテンプレート ファイルの内容を抜粋しています。ファイルのフォーマットは、AM テンプレート ファイルと同じです。 この例でのテンプレート ファイルの名前は、template.tpl です。
template.tpl ファイルは、以下の内容で作成されています。
//
// Asset Management システムを使用して作成された MIF ファイル
//
Start Component
Name = "User Template"
UpdateType = "Never"
UpdateMsg = ""
LastUpdated = ""
Description = "Basic Template for Users"
Start Group
Name = "User Information"
Id = 1
Class = "NETCON|User Information|1.0"
Description = ""
Start Attribute
Name = "User Name"
Id = 1
Storage = Specific
Type = String(32)
Access = Write-Only
End Attribute
Start Attribute
Name = "First Name"
Id = 2
Storage = Specific
Type = String(64)
Access = Write-Only
End Attribute
Start Attribute
Name = "Last Name"
Id = 3
Storage = Specific
Type = String(64)
Access = Write-Only
End Attribute
Start Attribute
Name = "Address"
Id = 4
Storage = Specific
Type = String(128)
Access = Write-Only
End Attribute
Start Attribute
Name = "ZipCode"
Id = 5
Storage = Specific
Type = String(32)
Access = Write-Only
End Attribute
Start Attribute
Name = "City"
Id = 6
Storage = Specific
Type = String(128)
Access = Write-Only
End Attribute
Start Attribute
Name = "Country"
Id = 7
Storage = Specific
Type = String(64)
Access = Write-Only
End Attribute
Start Attribute
Name = "Home Phone"
Id = 8
Storage = Specific
Type = String(32)
Access = Write-Only
End Attribute
End Group
Start Group
Name = "Company Information"
Id = 2
Class = "NETCON|Company Information|1.0"
Description = ""
Start Attribute
Name = "Department"
Id = 1
Storage = Specific
Type = String(64)
Access = Write-Only
End Attribute
Start Attribute
Name = "Phone"
Id = 2
Storage = Specific
Type = String(32)
Access = Write-Only
End Attribute
End Group
Start Group
Name = "Additional Information"
Id = 3
Class = "NE TCON|Additional Information|1.0"
Description = ""
Start Attribute
Name = "Additional Text"
Id = 1
Storage = Specific
Type = String(256)
Access = Write-Only
End Attribute
Start Attribute
Name = "Default Workstation"
Id = 2
Storage = Specific
Type = String(64)
Access = Write-Only
End Attribute
End Group
End Component
|
Copyright © 2013 CA.
All rights reserved.
|
|