Add a new field in the new ticket creation form.

Moderator: crythias

Locked
Mahesh
Znuny newbie
Posts: 46
Joined: 13 Jan 2014, 09:42
Znuny Version: 3.1.00
Real Name: Mahesh
Company: vc

Add a new field in the new ticket creation form.

Post by Mahesh »

Hi,

First of all thanks to all for the resolution on my earlier question.

Now I want some changes in the "otrs/customer.pl?Action=CustomerTicketMessage" form.

There are options where my customers can choose "Type" / "To" / "Service" / "SLA" etc. I want to add 1 more field here.
Refer screenshot for exact requirement.

Is it possible ?

Thanks
Mahesh
You do not have the required permissions to view the files attached to this post.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Add a new field in the new ticket creation form.

Post by crythias »

Yes. It requires modification of the template, and explicit placement of all enabled DynamicFields per the template's hints.
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
Mahesh
Znuny newbie
Posts: 46
Joined: 13 Jan 2014, 09:42
Znuny Version: 3.1.00
Real Name: Mahesh
Company: vc

Re: Add a new field in the new ticket creation form.

Post by Mahesh »

Many Thanks crythias ..... Can you please guide me the steps or some document ....
yuri0001
Znuny superhero
Posts: 630
Joined: 17 Mar 2011, 14:40
Znuny Version: 5.0.6
Real Name: Yuri Kolesnikov
Location: Russia

Re: Add a new field in the new ticket creation form.

Post by yuri0001 »

Hi1
About Dynamic fields you can read in admin manual.
About placing dynamic fields - see commented examples at the end of CustomerTicketMessage.dtl. Usually enabled in Sysconfig dynamic fields displayed as block of fields. In example at the end file you can see how to display separate dynamic field in needed order. Using this example you can place each individual field in needed place in input form.
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)
xax0
Znuny newbie
Posts: 41
Joined: 01 Nov 2013, 10:46
Znuny Version: 3.3 beta4

Re: Add a new field in the new ticket creation form.

Post by xax0 »

That's the way I overcome this:

viewtopic.php?f=62&t=23589

You can add new field by first adding it in Dynamic Fields > Article > Free Text. Then use the dynamic field key to add it to SysConfig > Ticket > Frontend::Customer::Ticket::ViewNew.

Then use the link above to change the appearance order.
OTRS 3.3.6 with ITSM 3.3.6 running on CentOS 6.4, PostgreSQL 9.x
Mahesh
Znuny newbie
Posts: 46
Joined: 13 Jan 2014, 09:42
Znuny Version: 3.1.00
Real Name: Mahesh
Company: vc

Re: Add a new field in the new ticket creation form.

Post by Mahesh »

I am unable to find "Dynamic Fields" where is this TAB ????????//
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Add a new field in the new ticket creation form.

Post by crythias »

TAB = Admin
There is a furnished manual that can help.
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
Mahesh
Znuny newbie
Posts: 46
Joined: 13 Jan 2014, 09:42
Znuny Version: 3.1.00
Real Name: Mahesh
Company: vc

Re: Add a new field in the new ticket creation form.

Post by Mahesh »

Already checked the "Dynamic Fields" option is missing. Refer screenshot.
You do not have the required permissions to view the files attached to this post.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Add a new field in the new ticket creation form.

Post by crythias »

Mahesh, what version of OTRS are you using? What OS?
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
Mahesh
Znuny newbie
Posts: 46
Joined: 13 Jan 2014, 09:42
Znuny Version: 3.1.00
Real Name: Mahesh
Company: vc

Re: Add a new field in the new ticket creation form.

Post by Mahesh »

Hi.

OTRS version is --- otrs-3.0.8-01
OS version is --- Red Hat Enterprise Linux Server release 5.4 (Tikanga)
yuri0001
Znuny superhero
Posts: 630
Joined: 17 Mar 2011, 14:40
Znuny Version: 5.0.6
Real Name: Yuri Kolesnikov
Location: Russia

Re: Add a new field in the new ticket creation form.

Post by yuri0001 »

Hi!
In OTRS versions before 3.1.x there where FreeText & FreeTime fields. See manual about using it, or upgrade your system on new version 3.3.4.
In new versions FreeText/Time fields replaced with Dynamic fields - it's more powerfull and flexible feature for custom fields. :)
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)
xax0
Znuny newbie
Posts: 41
Joined: 01 Nov 2013, 10:46
Znuny Version: 3.3 beta4

Re: Add a new field in the new ticket creation form.

Post by xax0 »

Mahesh wrote:Hi.

OTRS version is --- otrs-3.0.8-01
OS version is --- Red Hat Enterprise Linux Server release 5.4 (Tikanga)
That explains it clearly. Upgrade as advised, and then carry on with customization. running the latest version makes sure you are taking the most out of the system, as they are adding more feature add-ons to the core framework.
Also, please include in your signature the OTRS version, OS and DB. This will give brief information to the people who are trying to help you.
OTRS 3.3.6 with ITSM 3.3.6 running on CentOS 6.4, PostgreSQL 9.x
Mahesh
Znuny newbie
Posts: 46
Joined: 13 Jan 2014, 09:42
Znuny Version: 3.1.00
Real Name: Mahesh
Company: vc

Re: Add a new field in the new ticket creation form.

Post by Mahesh »

Thanks I was able to do it successfully ... Cheers ........
Locked