Créer un fichier modèle devant être utilisé dans l'agent NRI. Pour cet exemple, le contenu du fichier modèle est pris sur Asset management et le format du fichier est le même que le fichier modèle AM. Le nom du fichier modèle dans cet exemple est template.tpl.
Le fichier template.tpl est créé avec le contenu suivant :
//
// Un fichier MIF créé avec le système Asset Management
//
Start Component
Name = "Modèle utilisateur"
UpdateType = "Jamais"
UpdateMsg = ""
LastUpdated = ""
Description = "Modèle de base pour les utilisateurs"
Start Group
Name = "Informations sur l'utilisateur"
Id = 1
Class = "NETCON|User Information|1.0"
Description = ""
Start Attribute
Name = "Nom de l'utilisateur"
Id = 1
Storage = Specific
Type = String(32)
Access = Write-Only
End Attribute
Start Attribute
Name = "Prénom"
Id = 2
Storage = Specific
Type = String(64)
Access = Write-Only
End Attribute
Start Attribute
Name = "Nom"
Id = 3
Storage = Specific
Type = String(64)
Access = Write-Only
End Attribute
Start Attribute
Name = "Adresse"
Id = 4
Storage = Specific
Type = String(128)
Access = Write-Only
End Attribute
Start Attribute
Name = "Code postal"
Id = 5
Storage = Specific
Type = String(32)
Access = Write-Only
End Attribute
Start Attribute
Name = "Ville"
Id = 6
Storage = Specific
Type = String(128)
Access = Write-Only
End Attribute
Start Attribute
Name = "Pays"
Id = 7
Storage = Specific
Type = String(64)
Access = Write-Only
End Attribute
Start Attribute
Name = "Téléphone domicile"
Id = 8
Storage = Specific
Type = String(32)
Access = Write-Only
End Attribute
End Group
Start Group
Name = "Informations sur l'entreprise"
Id = 2
Class = "NETCON|Company Information|1.0"
Description = ""
Start Attribute
Name = "Département"
Id = 1
Storage = Specific
Type = String(64)
Access = Write-Only
End Attribute
Start Attribute
Name = "Téléphone"
Id = 2
Storage = Specific
Type = String(32)
Access = Write-Only
End Attribute
End Group
Start Group
Name = "Informations supplémentaires"
Id = 3
Class = "NE TCON|Informations supplémentaires|1.0"
Description = ""
Start Attribute
Name = "Texte supplémentaire"
Id = 1
Storage = Specific
Type = String(256)
Access = Write-Only
End Attribute
Start Attribute
Name = "Poste de travail par défaut"
Id = 2
Storage = Specific
Type = String(64)
Access = Write-Only
End Attribute
End Group
End Component
|
Copyright © 2013 CA.
Tous droits réservés.
|
|