change of link type

Moderator: crythias

Locked
leocertuche
Znuny newbie
Posts: 40
Joined: 12 Apr 2010, 22:50
Znuny Version: 2.4.7
Location: Medellin, Colombia
Contact:

change of link type

Post by leocertuche »

Hello there,

We were asked to change the names of the type of links available for linking two configuration items.

We went to the link_type table and changed the names but it was not reflected on the front end. Then we realized that the're also written on the following two files:
/opt/otrs/Kernel/Config/Files/ZZZAAuto.pm
/opt/otrs/Kernel/Config/Files/ITSMCore.xml

Even though I changed the following on each one, the new link type is not shown:

/opt/otrs/Kernel/Config/Files/ZZZAuto.pm :

Code: Select all

    $Self->{'LinkObject::PossibleLink'}->{'3202'} =  {
      'Object1' => 'ITSMConfigItem',
      'Object2' => 'ITSMConfigItem',
      'Type' => 'Ubicado en'
    };
/opt/otrs/Kernel/Config/Files/ITSMCore.xml :

Code: Select all

    <ConfigItem Name="LinkObject::PossibleLink###3202" Required="0" Valid="1">
            <Description Lang="en">This setting defines that a 'ITSMConfigItem' object can be linked with other 'ITSMConfigItem' objects using the 'DependsOn' link type.</Description>
            <Description Lang="de">Definiert, dass ein 'ITSMConfigItem'-Objekt mit dem Linktyp 'DependsOn' mit anderen 'ITSMConfigItem'-Objekten verlinkt werden kann.</Description>
            <Group>Framework</Group>
            <SubGroup>Core::LinkObject</SubGroup>
            <Setting>
                <Hash>
                    <Item Key="Object1">ITSMConfigItem</Item>
                    <Item Key="Object2">ITSMConfigItem</Item>
                    <Item Key="Type">Ubicado en</Item>
                </Hash>
            </Setting>
        </ConfigItem>
What else should be done to change those link types?

Any help is much appreciated.

Thanks,
Leonardo Certuche
www.itconsultores.com.co
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: change of link type

Post by crythias »

If these exist in XML, they probably have an analog in SysConfig, which means that when updated, they might also update the database as well.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Locked