Hi Leonardo,

the type cannot be changed.
You should consider to just change the language file to reflect the wanted name for the link type.

grep -r "Depends on” /opt/otrs/Kernel/


Cheers, Nils


On 06.12.2010, at 18:06, Leonardo Certuche wrote:

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 :

$Self->{'LinkObject::PossibleLink'}->{'3202'} =  {
  'Object1' => 'ITSMConfigItem',
  'Object2' => 'ITSMConfigItem',
  'Type' => 'Ubicado en'
};

/opt/otrs/Kernel/Config/Files/ITSMCore.xml :

<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
Medellín, Colombia

---------------------------------------------------------------------
OTRS mailing list: itsm - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/itsm
To unsubscribe: http://lists.otrs.org/mailman/listinfo/itsm

— 
Nils Leideck
Senior Consultant

http://webint.cryptonode.de / a Fractal project