I am struggling with adding a new button to AgentTicketZoom screen, in the Actions panel, see below panel:

How would I add this button?
For example it can be a copy of AgentTicketFreeText, as AgentTicketFreeText2, but with different settings.
Thanks
Moderator: crythias
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<otrs_config version="2.0" init="Application">
<Setting Name="Ticket::Frontend::MenuModule###212-AgentTicketNewModule" Required="0" Valid="1">
<Description Translatable="1">Shows the menu module in the ticket zoom view of the agent interface. Additional access control to show or not show this link can be done by using Key "Group" and Content like "rw:group1;move_into:group2". To cluster menu items use for Key "ClusterName" and for the Content any name you want to see in the UI. Use "ClusterPriority" to configure the order of a certain cluster within the toolbar.</Description>
<Navigation>Frontend::Agent::View::TicketZoom::MenuModule</Navigation>
<Value>
<Hash>
<Item Key="Module">Kernel::Output::HTML::TicketMenu::Generic</Item>
<Item Key="Name" Translatable="1">New Module</Item>
<Item Key="Description" Translatable="1">New Module</Item>
<Item Key="Action">AgentTicketNewModule</Item>
<Item Key="Link">Action=-AgentTicketNewModule;TicketID=[% Data.TicketID | html %]</Item>
<Item Key="LinkParam"></Item>
<Item Key="Target"></Item>
<Item Key="PopupType">TicketAction</Item>
<Item Key="ClusterName" Translatable="1"></Item>
<Item Key="ClusterPriority"></Item>
</Hash>
</Value>
</Setting>
<Setting Name="Frontend::Module###AgentTicketNewModule" Required="0" Valid="1">
<Description Translatable="1">Frontend module registration for the agent interface.</Description>
<Navigation>Frontend::Agent::ModuleRegistration</Navigation>
<Value>
<Item ValueType="FrontendRegistration">
<Hash>
<Item Key="Group">
<Array>
</Array>
</Item>
<Item Key="GroupRo">
<Array>
</Array>
</Item>
<Item Key="Description" Translatable="1">New module.</Item>
<Item Key="Title" Translatable="1">New Module</Item>
<Item Key="NavBarName">Ticket</Item>
</Hash>
</Item>
</Value>
</Setting>
</otrs_config>
Code: Select all
otrs > bin/otrs.Console.pl Maint::Config::Rebuild
otrs > bin/otrs.Console.pl Maint::Config::Sync