Automatically populate FROM field - New phone ticket

Moderator: crythias

Locked
jackmojo
Znuny newbie
Posts: 9
Joined: 13 Nov 2010, 01:03
Znuny Version: 2.4.7

Automatically populate FROM field - New phone ticket

Post by jackmojo »

When creating a new ticket from phone, the top item (From) is blank. is there a way to get this to populate automatically with the currently logged in agent?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Automatically populate FROM field - New phone ticket

Post by jojo »

in this field the ustomer should be placed, not the agent. Do you have a customer database you are using?
"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
jackmojo
Znuny newbie
Posts: 9
Joined: 13 Nov 2010, 01:03
Znuny Version: 2.4.7

Re: Automatically populate FROM field - New phone ticket

Post by jackmojo »

I can set up a customer, no problem - will I then be able to populate that field once I've created customer users?
jackmojo
Znuny newbie
Posts: 9
Joined: 13 Nov 2010, 01:03
Znuny Version: 2.4.7

Re: Automatically populate FROM field - New phone ticket

Post by jackmojo »

Figured this out too:

Under the <!-- dtl:block:CustomerSearchAutoCompleteDivStart --> block edit the <input id="myAutoCompleteInput" type="text" name="From" value="$QData{"From"}" size="80"/> line.

Change the info in value= to whatever you want. In may case, I put a hard email addres:
<input id="myAutoCompleteInput" type="text" name="From" value="support@blahblah.com" size="80"/>

I'm going to figure out next how to have it populate the current user's email address.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Automatically populate FROM field - New phone ticket

Post by crythias »

The ticket comes *from* the customer, not the agent.
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
Locked