Hi,
i want to set default values to some fields. Is that possible?
{
Key => 'LOC_Type',
Name => 'Type',
Searchable => 1,
Input => {
Type => 'GeneralCatalog',
Class => 'ITSM::ConfigItem::Location::Type',
Translation => 1,
DefaultValue = 'Building'
},
or
{
Key => 'Type',
Name => 'Type',
Searchable => 1,
Input => {
Type => 'GeneralCatalog',
Class => 'ITSM::ConfigItem::Computer::Type',
Translation => 1,
DefaultValue = 'Laptop'
},
},
Help, me please. I will be very grateful.
Emi
Config Items - to set default values
Moderator: crythias
-
- Znuny newbie
- Posts: 6
- Joined: 26 Feb 2013, 11:06
- Znuny Version: 3.3.8
- Real Name: Emi
- Location: Poland, Poznan
Config Items - to set default values
------------------------------------------------------------------------------------------------------------------------------------------------------------
OTRS 3.3.8 Unix with MySQL database.
OTRS 3.3.8 Unix with MySQL database.
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Config Items - to set default values
It should be "ValueDefault", not "DefaultValue"...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de