Add extra text fields to the customer

Moderator: crythias

Locked
Thierry
Znuny newbie
Posts: 12
Joined: 03 Jan 2011, 17:01
Znuny Version: 3.04

Add extra text fields to the customer

Post by Thierry »

Hello,

I'm new here and I have a question, hopefully one of you is able to help me out.

I would like to add extra textfields in the customer management panel.

For example; business name and po box addresses. Is there a easy way to create this?

Thanks and looking forward to your replies.

Thierry
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Add extra text fields to the customer

Post by crythias »

http://doc.otrs.org/3.0/en/html/x2429.html You may choose to skip the Customer.pl information, but the Map and database structure ALTER are important. If you're using LDAP/AD, you merely need to edit your map in Config.pm to include the fields you wish to show.
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
Thierry
Znuny newbie
Posts: 12
Joined: 03 Jan 2011, 17:01
Znuny Version: 3.04

Re: Add extra text fields to the customer

Post by Thierry »

Cheers, I'll look into this tomorrow!
srivatsatatti
Znuny newbie
Posts: 85
Joined: 25 Jan 2011, 06:54
Znuny Version: OTRS 3
Company: eStomi Technologies Pvt Ltd
Contact:

Re: Add extra text fields to the customer

Post by srivatsatatti »

Hi,
i could add the extra filed while creating or edit customer info and could map it in config.pm.
how can i show the extra filed, when ticket is selected. i.e customer information (in agent ticket zoom).
OTRS 3.2.x, Linux Ubuntu, Mysql 5.1.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Add extra text fields to the customer

Post by crythias »

Code: Select all

            # var, frontend, storage, shown (1=always,2=lite), required, storage-type, http-link, readonly, http-link-target
if the "shown" column/field/array index holds the value "1", it will show on ticket zoom.

If you are using a database and you haven't ALTERed it to contain the new field, it won't show up and won't store data.

If you are using an LDAP connection and you don't have the field, it won't show up.
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
jmontoya
Znuny newbie
Posts: 9
Joined: 26 Apr 2012, 13:59
Znuny Version: 3.0.1
Real Name: Julio Montoya
Company: BeezNest

Re: Add extra text fields to the customer

Post by jmontoya »

Hello crythias,

It works for me, now I want to add a date value. I tried changing "var" with "date" or "datetime" and it doesn't work.
I didn't find any documentation about which variables the "storage-type" support ...

I tried with radio and checkbox and it works fine but not with a date.

Regards
jmontoya
Znuny newbie
Posts: 9
Joined: 26 Apr 2012, 13:59
Znuny Version: 3.0.1
Real Name: Julio Montoya
Company: BeezNest

Re: Add extra text fields to the customer

Post by jmontoya »

One more question I have to add a lot of variables in the customer form, and I wish to create a group of fields something like:
"Personal Information", "Company Information", "etc , etc"

There's a way to do this? Or I just have to add a lot of variables in the form, so the form will be veeery big.

Regards!
Locked