I am testing a new installation of OTRS 5.
I would like to add an input text field to the Queue definition menu (AdminQueue) to specify some administrative information.
Therefore I add the new file:
/opt/otrs/Kernel/Config/Files/QueueCustomerOrder.xml
with the following content:
Code: Select all
<?xml version="1.0" encoding="utf-8" ?>
<otrs_config version="1.0" init="Framework">
<ConfigItem Name="QueuePreferences###CustomerOrderField" Required="0" Valid="1">
<Description Translatable="1">Defines Customer Order field for queue.</Description>
<Group>Ticket</Group>
<SubGroup>Frontend::Queue::Preferences</SubGroup>
<Setting>
<Hash>
<Item Key="Module">Kernel::Output::HTML::QueuePreferences::Generic</Item>
<Item Key="Label" Translatable="1">Customer Order</Item>
<Item Key="PrefKey">OrderId</Item>
<Item Key="Block">Input</Item>
<Item Key="MaxLength">40</Item>
<Item Key="Prio">6101</Item>
<Item Key="Active">1</Item>
</Hash>
</Setting>
</ConfigItem>
</otrs_config>
however the max length of string I can put within that field is limited to 30 characters.
There should be a default configured somewhere but I was not able to find it out...
On the other hand it's clear that the statement <Item Key="MaxLength">40</Item> has no result.
Since the codes I have to put within that new fields are up to 40 chars I need to extend it to that length... do you know if there is a way to set this cap value within the xml configuration file?
(By the way, I would like to avoid the use of TextArea fields if possible)
thank you very much in advance!
Giulio