I updated the xml file I created previously:
Code: Select all
# su -c "/opt/otrs/bin/otrs.Console.pl Dev::Tools::Migrate::ConfigXMLStructure --source-directory /tmp" -s /bin/bash otrs
Code: Select all
<?xml version="1.0" encoding="utf-8" ?>
<otrs_config version="2.0" init="Framework">
<Setting Name="PreferencesGroups###UserPhone" Required="0" Valid="1">
<Description Translatable="1">Defines the config parameters of this item, to be shown in the preferences view.</Description>
<Navigation>Frontend::Agent::View::Preferences</Navigation>
<Value>
<Hash>
<Item Key="Module">Kernel::Output::HTML::PreferencesGeneric</Item>
<Item Key="PreferenceGroup">User Profile</Item>
<Item Key="Label" Translatable="1">Phone</Item>
<Item Key="Key" Translatable="1">Phone</Item>
<Item Key="Block">Input</Item>
<Item Key="Data">$Env{"UserPhone"}</Item>
<Item Key="PrefKey">UserPhone</Item>
<Item Key="Prio">3510</Item>
<Item Key="Active">1</Item>
</Hash>
</Value>
</Setting>
<Setting Name="PreferencesGroups###UserAddress" Required="0" Valid="1">
<Description Translatable="1">Defines the config parameters of this item, to be shown in the preferences view.</Description>
<Navigation>Frontend::Agent::View::Preferences</Navigation>
<Value>
<Hash>
<Item Key="Module">Kernel::Output::HTML::PreferencesGeneric</Item>
<Item Key="PreferenceGroup">User Profile</Item>
<Item Key="Label" Translatable="1">Address</Item>
<Item Key="Key" Translatable="1">Address</Item>
<Item Key="Block">Input</Item>
<Item Key="Data">$Env{"UserAddress"}</Item>
<Item Key="PrefKey">UserAddress</Item>
<Item Key="Prio">3511</Item>
<Item Key="Active">1</Item>
</Hash>
</Value>
</Setting>
<Setting Name="PreferencesGroups###UserZip" Required="0" Valid="1">
<Description Translatable="1">Defines the config parameters of this item, to be shown in the preferences view.</Description>
<Navigation>Frontend::Agent::View::Preferences</Navigation>
<Value>
<Hash>
<Item Key="Module">Kernel::Output::HTML::PreferencesGeneric</Item>
<Item Key="PreferenceGroup">User Profile</Item>
<Item Key="Label" Translatable="1">Zip</Item>
<Item Key="Key" Translatable="1">Zip</Item>
<Item Key="Block">Input</Item>
<Item Key="Data">$Env{"UserZip"}</Item>
<Item Key="PrefKey">UserZip</Item>
<Item Key="Prio">3512</Item>
<Item Key="Active">1</Item>
</Hash>
</Value>
</Setting>
<Setting Name="PreferencesGroups###UserCity" Required="0" Valid="1">
<Description Translatable="1">Defines the config parameters of this item, to be shown in the preferences view.</Description>
<Navigation>Frontend::Agent::View::Preferences</Navigation>
<Value>
<Hash>
<Item Key="Module">Kernel::Output::HTML::PreferencesGeneric</Item>
<Item Key="PreferenceGroup">User Profile</Item>
<Item Key="Label" Translatable="1">City</Item>
<Item Key="Key" Translatable="1">City</Item>
<Item Key="Block">Input</Item>
<Item Key="Data">$Env{"UserCity"}</Item>
<Item Key="PrefKey">UserCity</Item>
<Item Key="Prio">3513</Item>
<Item Key="Active">1</Item>
</Hash>
</Value>
</Setting>
<Setting Name="PreferencesGroups###UserCompany" Required="0" Valid="1">
<Description Translatable="1">Defines the config parameters of this item, to be shown in the preferences view.</Description>
<Navigation>Frontend::Agent::View::Preferences</Navigation>
<Value>
<Hash>
<Item Key="Module">Kernel::Output::HTML::PreferencesGeneric</Item>
<Item Key="PreferenceGroup">User Profile</Item>
<Item Key="Label" Translatable="1">Company</Item>
<Item Key="Key" Translatable="1">Company</Item>
<Item Key="Block">Input</Item>
<Item Key="Data">$Env{"UserCompany"}</Item>
<Item Key="PrefKey">UserCompany</Item>
<Item Key="Prio">3514</Item>
<Item Key="Active">1</Item>
</Hash>
</Value>
</Setting>
<Setting Name="PreferencesGroups###UserHomePage" Required="0" Valid="1">
<Description Translatable="1">Defines the config parameters of this item, to be shown in the preferences view.</Description>
<Navigation>Frontend::Agent::View::Preferences</Navigation>
<Value>
<Hash>
<Item Key="Module">Kernel::Output::HTML::PreferencesGeneric</Item>
<Item Key="PreferenceGroup">User Profile</Item>
<Item Key="Label" Translatable="1">Homepage</Item>
<Item Key="Key" Translatable="1">Homepage</Item>
<Item Key="Block">Input</Item>
<Item Key="Data">$Env{"UserHomePage"}</Item>
<Item Key="PrefKey">UserHomePage</Item>
<Item Key="Prio">3515</Item>
<Item Key="Active">1</Item>
</Hash>
</Value>
</Setting>
</otrs_config>
However, the settings from AgentPrefs.xml do show up in the System Config:
https://helpdesk.domain/otrs/index.pl?A ... references
What am I doing wrong or forgetting?