Hi friend,
i am trying to insert a field on agent signature, but, for this reason i need to insert this field where i create the agents, right?
i tryed to insert this code above on a file in /opt/otrs/Kernel/Config/Files
<?xml version="1.0" encoding="utf-8" ?>
<otrs_config version="1.0" init="Framework">
<ConfigItem Name="PreferencesGroups###PersonalPhoneNumber" Required="0" Valid="0">
<Description Translatable="1">Defines the config parameters of this item, to be shown in the preferences view.</Description>
<Group>Framework</Group>
<SubGroup>Frontend::Agent::Preferences</SubGroup>
<Setting>
<Hash>
<Item Key="Module">Kernel::Output::HTML::PreferencesGeneric</Item>
<Item Key="Column">Other Settings</Item>
<Item Key="Label" Translatable="1">Telefone</Item>
<Item Key="Key" Translatable="1">Telefone</Item>
<Item Key="Block">Input</Item>
<Item Key="Data">$Env{"UserPhoneNumber"}</Item>
<Item Key="PrefKey">UserPhoneNumber</Item>
<Item Key="Prio">7000</Item>
<Item Key="Active">1</Item>
</Hash>
</Setting>
</ConfigItem>
</otrs_config>
This code insert a field where i create the agents but i cannot recover the <OTRS_Agent_UserPhoneNumber> on the signature. Can someone help me to solve this?
Thanks a lot!
Cannot Answer Tickets
Moderator: crythias
-
- Znuny newbie
- Posts: 4
- Joined: 30 Jul 2013, 15:06
- Znuny Version: 3.2.9
- Real Name: Harlei Liguori Marcelino
- Company: Lemontech
Re: Cannot Answer Tickets
Now i get the phone number on the same way, but, cannot get the agent email...
what is the way to get agent e-mail on signature?
what is the way to get agent e-mail on signature?
Re: Cannot Answer Tickets
as OTRS is used for communication you should not write users email address to the signature but use the one from the queue
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com