Hallo zusammen,

ich würde meine DynamicFields gerne per XML Config File dem OPM
mitgeben, aber scheinbar werden die Config Files nur bis zu einer
gewissen Tiefe ausgewertet.

Der Hash in <Item Key="PossibleValues"> wird nicht ausgewertet.
Aktuell verwende ich einen Workaround via PossibleValuesHelper.

Lösung? SysConfig.pm patchen?

Gibt es irgendwo eine detaillierte Doku zum Caching und dem Config
Mechanismus von OTRS?


Beispiel:

<ConfigItemName="Foo::Bar###Baz"Required="1" Valid="1">
<Description Translatable="1">Baz</Description>
<Group>MyGroup</Group>
<SubGroup>MySubGroup</SubGroup>
<Setting>
<Hash>
<Item Key="Name">dfBAZ</Item>
<Item Key="Label">BAZ</Item>
<Item Key="FieldOrder">666</Item>
<Item Key="FieldType">Dropdown</Item>
<Item Key="ObjectType">Ticket</Item>
<Item Key="Config">
<Hash>
<Item Key="DefaultValue"></Item>
<Item Key="Link"></Item>
<Item Key="PossibleNone">1</Item>
<Item Key="PossibleValues">
<Hash>
<Item Key="key1">value1</Item>
<Item Key="key2">value2</Item>
<Item Key="key3">value3</Item>
</Hash>
</Item>
<Item Key="TranslatableValues">0</Item>
<Item Key="TreeView">0</Item>
</Hash>
</Item>
<Item Key="PossibleValuesHelper">
<Hash>
<Item Key="hkey1">hvalue1</Item>
<Item Key="hkey2">hvalue2</Item>
<Item Key="hkey3">hvalue3</Item>
</Hash>
</Item>
<Item Key="ValidID">1</Item>
<Item Key="UserID">1</Item>
</Hash>
</Setting>
</ConfigItem>






---------------------------------------------------------------------
OTRS mailing list: otrs-de - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs-de
To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs-de

Antwort per Email an