crythias wrote:There is no need to add any field to queue for any reason, especially not for security, routing, or identification.
Thanks your recommendation, it's really good information to consult for my customers. But in this case, my customer want to do like above, they designed already.
Finally, I could find the way to add a field in Create Queue screen via config. Go to path: <OTRS_HOME>/Kernel/Config/Files, create a config file yourfile.xml with below config for ABC field (using
QueuePreferences and
QueuePreferencesGeneric)
Code: Select all
<ConfigItem Name="QueuePreferences###ABC" Required="1" Valid="1">
<Description Translatable="1">Defines ABC field for queue.</Description>
<Group>Ticket</Group>
<SubGroup>Frontend::Queue::Preferences</SubGroup>
<Setting>
<Hash>
<Item Key="Module">Kernel::Output::HTML::QueuePreferencesGeneric</Item>
<Item Key="Label" Translatable="1">ABC</Item>
<Item Key="Data">
<Hash>
<Item Key="key1">value 1</Item>
<Item Key="key2">value 2</Item>
<Item Key="key3">value 3</Item>
</Hash>
</Item>
<Item Key="PrefKey">QueueABC</Item>
<Item Key="Active">1</Item>
</Hash>
</Setting>
</ConfigItem>
Hope this is helpful for other ones
Vu Nguyen