How can I add a custom field to Customer Company in OTRS 5?

Moderator: crythias

Locked
geri
Znuny newbie
Posts: 45
Joined: 10 Jan 2015, 11:22
Znuny Version: 3.3.10

How can I add a custom field to Customer Company in OTRS 5?

Post by geri »

I need to add a custom field like dynamic fields to Customer Conpany. How can I do it?

I also need display the value of this field in dashboard as a column for tickets, as an info abot the customer company the tickets belongs to.

Thank you in advance.
Eggllo
Znuny newbie
Posts: 79
Joined: 09 Jun 2016, 14:27
Znuny Version: 5.0.10

Re: How can I add a custom field to Customer Company in OTRS 5?

Post by Eggllo »

What kind of info were you thinking of storing? Is it something that would be static for each company?
OTRS v5.0.10 with ITSM extension.
MySQL database
Ubuntu 16.04 LTS
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: How can I add a custom field to Customer Company in OTRS 5?

Post by jojo »

this can be achived with the dynamic field functionality
"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
geri
Znuny newbie
Posts: 45
Joined: 10 Jan 2015, 11:22
Znuny Version: 3.3.10

Re: How can I add a custom field to Customer Company in OTRS 5?

Post by geri »

Eggllo wrote:What kind of info were you thinking of storing? Is it something that would be static for each company?

It is a kind of priorization to customer companies. Like importance of he customer.
geri
Znuny newbie
Posts: 45
Joined: 10 Jan 2015, 11:22
Znuny Version: 3.3.10

Re: How can I add a custom field to Customer Company in OTRS 5?

Post by geri »

jojo wrote:this can be achived with the dynamic field functionality
I can only add dynamic field to ticket, or article. Am i wrong?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: How can I add a custom field to Customer Company in OTRS 5?

Post by jojo »

if you want to display it on a ticket in the dashboard you have to copy the value of the company to a dynamic field of the ticket
"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
Eggllo
Znuny newbie
Posts: 79
Joined: 09 Jun 2016, 14:27
Znuny Version: 5.0.10

Re: How can I add a custom field to Customer Company in OTRS 5?

Post by Eggllo »

If it's just a company priority sort of thing, and it's not going to be changing a lot, then you could just use a dropdown dynamic field. You could have some generic agents to automatically assign it based on customerID if you wanted as well, or just assign it manually.
OTRS v5.0.10 with ITSM extension.
MySQL database
Ubuntu 16.04 LTS
Locked