Sub Config Item von Auswahl abhängig machen

Hilfe zu Znuny Problemen aller Art
Locked
Calsonic
Znuny newbie
Posts: 44
Joined: 07 Nov 2011, 15:00
Znuny Version: 5.0.8

Sub Config Item von Auswahl abhängig machen

Post by Calsonic »

Hallo,

ich habe in meinen Config Items die Location wie folgt drin stehen.
{
Key => 'Location',
Name => 'Location',
Searchable => 1,
Input => {
Type => 'GeneralCatalog',
Class => 'ITSM::ConfigItem::Location',
Translation => 1,
},
Sub => [
{
Key => 'LocationType',
Name => 'Location Type',
Searchable => 1,
Input => {
Type => 'GeneralCatalog',
Class => 'ITSM::ConfigItem::Location::Type',
Translation => 1,
},
},
],
},
Soweit funktioniert das auch.
In Location haben wir unsere Standorte drin stehn.
In Location Type würd ich gern Zimmernummern/Raumtypen zur Auswahl geben.
Da aber nicht in jedem Standort die selben Räume zur Verfügung stehen würd ich die Auswahl bei LocationType gern von Location abhängig machen.

Geht das? Wenn ja, wie?


mfG
OTRS 5.0.8
ITSM 5.0.14

CentOS 7
Locked