Howto add Services to Custom CI Class Definition

Moderator: crythias

Locked
artur4
Znuny newbie
Posts: 8
Joined: 21 Feb 2011, 17:19
Znuny Version: 3.0.5

Howto add Services to Custom CI Class Definition

Post by artur4 »

Hello,

Is there a way to add Services to Custom Config Item Class?
Obviously I can duplicate OTRS Services in General Catalog and specify something, like that in corresponding Class definition:

{
Key => 'Service',
Name => 'Service',
Searchable => 1,
Input => {
Type => 'GeneralCatalog',
Class => 'Services',
Translation => 1,
},
},

However I would prefer to extract list of the services directly from the system. Is that possible?

Thank you very much,
Artur
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Howto add Services to Custom CI Class Definition

Post by jojo »

why a service should be part of the CI? Services and CI should be linked
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
artur4
Znuny newbie
Posts: 8
Joined: 21 Feb 2011, 17:19
Znuny Version: 3.0.5

Re: Howto add Services to Custom CI Class Definition

Post by artur4 »

You're right. The link should work for me.

Thank you
Locked