Habe schon unter ConfigItem im Admin Interface von OTRS:ITSM 3.0.4 erfolgreich die Attribute einiger Klassen angepasst.
Allerdings habe ich im Interface bei den Attribute ein + dass ich erst anklicken muss eh ich ein Textfeld erhalte. Wie kann ich das ändern...?
Im Handbuch (http://doc.otrs.org/itsm/2.0/de/html/ch11s02.html) steht:
Attribut-Änderungen und Ergänzungen können direkt im grafischen Konfigurationsbereich über "Change Definition" vorgenommen werden.
Das finde ich allerdings nirgends. Das Handbuch bezieht sich allerdings auch auf die 2er-Version.
Habe bspw. die Klasse Computer um die letzten vier Attribute angepasst:
Code: Select all
[
{
Key => 'Vendor',
Name => 'Vendor',
Searchable => 1,
Input => {
Type => 'Text',
Size => 50,
MaxLength => 50,
},
},
{
Key => 'Model',
Name => 'Model',
Searchable => 1,
Input => {
Type => 'Text',
Size => 50,
MaxLength => 50,
},
},
{
Key => 'Description',
Name => 'Description',
Searchable => 1,
Input => {
Type => 'TextArea',
},
},
{
Key => 'Type',
Name => 'Type',
Searchable => 1,
Input => {
Type => 'GeneralCatalog',
Class => 'ITSM::ConfigItem::Computer::Type',
Translation => 1,
},
},
{
Key => 'Owner',
Name => 'Owner',
Searchable => 1,
Input => {
Type => 'Customer',
},
},
{
Key => 'SerialNumber',
Name => 'Serial Number',
Searchable => 1,
Input => {
Type => 'Text',
Size => 50,
MaxLength => 100,
},
},
{
Key => 'OperatingSystem',
Name => 'Operating System',
Input => {
Type => 'Text',
Size => 50,
MaxLength => 100,
},
},
{
Key => 'CPU',
Name => 'CPU',
Input => {
Type => 'Text',
Size => 50,
MaxLength => 100,
},
CountMax => 16,
},
{
Key => 'Ram',
Name => 'Ram',
Input => {
Type => 'Text',
Size => 50,
MaxLength => 100,
},
CountMax => 10,
},
{
Key => 'HardDisk',
Name => 'Hard Disk',
Input => {
Type => 'Text',
Size => 50,
MaxLength => 100,
},
CountMax => 10,
Sub => [
{
Key => 'Capacity',
Name => 'Capacity',
Input => {
Type => 'Text',
Size => 20,
MaxLength => 10,
},
},
],
},
{
Key => 'FQDN',
Name => 'FQDN',
Searchable => 1,
Input => {
Type => 'Text',
Size => 50,
MaxLength => 100,
},
},
{
Key => 'NIC',
Name => 'Network Adapter',
Input => {
Type => 'Text',
Size => 50,
MaxLength => 100,
Required => 1,
},
CountMin => 0,
CountMax => 10,
CountDefault => 1,
Sub => [
{
Key => 'IPoverDHCP',
Name => 'IP over DHCP',
Input => {
Type => 'GeneralCatalog',
Class => 'ITSM::ConfigItem::YesNo',
Translation => 1,
Required => 1,
},
},
{
Key => 'IPAddress',
Name => 'IP Address',
Searchable => 1,
Input => {
Type => 'Text',
Size => 40,
MaxLength => 40,
Required => 1,
},
CountMin => 0,
CountMax => 20,
CountDefault => 0,
},
],
},
{
Key => 'GraphicAdapter',
Name => 'Graphic Adapter',
Input => {
Type => 'Text',
Size => 50,
MaxLength => 100,
},
},
{
Key => 'OtherEquipment',
Name => 'Other Equipment',
Input => {
Type => 'TextArea',
Required => 1,
},
CountMin => 0,
CountDefault => 0,
},
{
Key => 'WarrantyExpirationDate',
Name => 'Warranty Expiration Date',
Searchable => 1,
Input => {
Type => 'Date',
},
},
{
Key => 'InstallDate',
Name => 'Install Date',
Searchable => 1,
Input => {
Type => 'Date',
Required => 1,
},
CountMin => 0,
CountDefault => 0,
},
{
Key => 'Note',
Name => 'Note',
Searchable => 1,
Input => {
Type => 'TextArea',
Required => 1,
},
CountMin => 0,
CountDefault => 0,
},
{
Key => 'Anschaffungswert',
Name => 'Anschaffungswert',
Searchable => 1,
Input => {
Type => 'Text',
Required => 0,
},
CountMin => 0,
CountDefault => 0,
},
{
Key => 'Anschaffungsdatum',
Name => 'Anschaffungsdatum',
Searchable => 1,
Input => {
Type => 'Date',
Required => 0,
},
CountMin => 0,
CountDefault => 0,
},
{
Key => 'Lieferant',
Name => 'Lieferant',
Searchable => 1,
Input => {
Type => 'Text',
Required => 0,
},
CountMin => 0,
CountDefault => 0,
},
{
Key => 'Rechnungsnummer',
Name => 'Rechnungsnummer',
Searchable => 1,
Input => {
Type => 'Text',
Required => 0,
},
CountMin => 0,
CountDefault => 0,
},
];
Danke im Voraus!