How to use CustomerID in CI definition in CMDB

Moderator: crythias

Locked
yuri0001
Znuny superhero
Posts: 630
Joined: 17 Mar 2011, 14:40
Znuny Version: 5.0.6
Real Name: Yuri Kolesnikov
Location: Russia

How to use CustomerID in CI definition in CMDB

Post by yuri0001 »

Hi!
I'm use a code:

Code: Select all

    {
        Key => 'Owner',
        Name => 'Owner',
        Searchable => 1,
        Input => {
            Type => 'Customer',
            Required => 1,
        },
    },
for entering customer in CI definition.
Now I want to enter CustomerID (I'm use it as Company name in my system).
What value should I use in this case in Type.
I'll try to use "CustomerID" but no field create in the form.
Where can I find field names that I can use in CI definition.
Sorry my bad English :?
Best regards Yuri Kolesnikov
OTRS 5.0.14, ITSM 5.0.14
SUSE 13.2, MariaDB 10.0.22(productive)
OTRS 5.0.14, ITSM 5.0.14(test)
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: How to use CustomerID in CI definition in CMDB

Post by jojo »

this is not implemented yet but might be available in 3.2. version of CMDB
"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
yuri0001
Znuny superhero
Posts: 630
Joined: 17 Mar 2011, 14:40
Znuny Version: 5.0.6
Real Name: Yuri Kolesnikov
Location: Russia

Re: How to use CustomerID in CI definition in CMDB

Post by yuri0001 »

I'm tried to use CustomerCompany (Customer Company support is ON in my system).
It's help to me.
Now I can enter Company by selection from dropdown list after entering 2 symbols of Company Name or ID.
Best regards Yuri Kolesnikov
OTRS 5.0.14, ITSM 5.0.14
SUSE 13.2, MariaDB 10.0.22(productive)
OTRS 5.0.14, ITSM 5.0.14(test)
binerf
Znuny newbie
Posts: 20
Joined: 25 Oct 2012, 06:43
Znuny Version: 3.1.10

Re: How to use CustomerID in CI definition in CMDB

Post by binerf »

Hi,

Sorry to re-open this old topic but I've tried to use CustomerCompany in Config Item Computer definition but there is no field of dropdown list which appears in the form afterwards.

Code: Select all

{
        Key        => 'CustomerCompany',
        Name       => 'Test CustomerCompany',
        Searchable => 1,
        Input => {
            Type => 'CustomerCompany',
        },
}, 
Did I miss something ?

OTRS version: 3.1.11

Thank you in advance for your help.
binerf
Znuny newbie
Posts: 20
Joined: 25 Oct 2012, 06:43
Znuny Version: 3.1.10

Re: How to use CustomerID in CI definition in CMDB

Post by binerf »

Hi all,

Any feedback ?
At least, is that possible ?

Thanks.
reneeb
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: How to use CustomerID in CI definition in CMDB

Post by reneeb »

Which version of ITSMConfigurationManagement do you use?
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
binerf
Znuny newbie
Posts: 20
Joined: 25 Oct 2012, 06:43
Znuny Version: 3.1.10

Re: How to use CustomerID in CI definition in CMDB

Post by binerf »

Oups, sorry, I forgot to precise.

ITSMConfigurationManagement version: 3.1.6

Matthieu
reneeb
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: How to use CustomerID in CI definition in CMDB

Post by reneeb »

This was introduced in ITSM 3.1.7...
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
binerf
Znuny newbie
Posts: 20
Joined: 25 Oct 2012, 06:43
Znuny Version: 3.1.10

[SOLVED] Re: How to use CustomerID in CI definition in CMDB

Post by binerf »

It works !!
Perfect !!!

Thank you very much, you're the best team !

Best
binerf
Znuny newbie
Posts: 20
Joined: 25 Oct 2012, 06:43
Znuny Version: 3.1.10

Re: How to use CustomerID in CI definition in CMDB

Post by binerf »

Hi all,

Now I can associate CI with CustomerCompany, that's perfect.

But I'd like to show this CustomerCompany (or better Company's name) in the CI overview list.

So I went in the sysconfig part and add new column in ITSMConfigItem::Frontend::AgentITSMConfigItem###ShowColumns as below:

Code: Select all

| Key                   | Content  |
| CustomerCompany       |    1     |
But unfortunately, CustomerCompany doesn't appear in the overview list.

Did I miss something ?

ITSM version: 3.1.7

Thank you in advance for your help.
Locked