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.
Beispiel:
Code: Select all
<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>
Mache ich irgendwas falsch?
Aktuell verwende ich einen Workaround via PossibleValuesHelper.
Muss ich das in SysConfig.pm patchen?