I recently added a couple of custom fields to the AdminQueue menu using queue preferences.
Specifically I added the following /opt/otrs/Kernel/Config/Files/QueueCustomerOrder.xml file:
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="Data">$Env{"OrderId"}</Item>
<Item Key="Prio">6101</Item>
<Item Key="Active">1</Item>
</Hash>
</Setting>
</ConfigItem>
</otrs_config>
Code: Select all
<Item Key="Key" Translatable="1">Customer Order</Item>
Also, I see on /opt/otrs/Kernel/Output/HTML/Templates/Standard/AdminQueue.tt that there are several kinds of possible custom fields.
What's the difference between InputKey and Input types?
Thank you for any possible information