Есть задача по добавлению информации по номеру мобильного телефона владельца заявки в интерфейсе клиента (Информации по заявке).
Я в меню агента создал поле, куда будет при регистрации вносится мобильный телефон.
Код: Выделить всё
<?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">Мобильный телефон</Item>
<Item Key="Key" Translatable="1">Мобильный телефон</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>
Пытался в Ticket::Frontend::CustomerTicketZoom###AttributesView - добавлять параметр UserPhoneNumber - но не хочет... видно чего-то я упустил...