Solved: Autopopulate the New Phone Ticket form (or other for

English! place to talk about development, programming and coding
Post Reply
RBehr
Znuny expert
Posts: 167
Joined: 26 Jan 2011, 13:23
Znuny Version: 3.0.7
Real Name: Rod Behr
Company: Impact
Location: London, United Kingdom
Contact:

Solved: Autopopulate the New Phone Ticket form (or other for

Post by RBehr »

We have a CRM system which holds all customer details. We would like to create a link on this form which says, "New OTRS Ticket" and which, when clicked, opens OTRS at the New Phone Ticket form (/index.pl?Action=AgentTicketPhone) and automatically populates the "From Customer" and "CustomerID" fields. Is this possible using querystrings on the standard index.pl file, or will it require changes to the index.pl file to enable this?
Last edited by RBehr on 04 Oct 2011, 15:53, edited 1 time in total.
Rod Behr
Software Design Manager and Database Analyst | Impact Audiovisual | London
Installation: OTRS 3.0.7, Apache 2, Strawberry Perl 5 on Ubuntu 10.04.3 Server with separate MySQL Server, also on Ubuntu 10.04.3
shostakovich
Znuny advanced
Posts: 146
Joined: 11 Apr 2011, 08:11
Znuny Version: 3.2.5

Re: Autopopulate the New Phone Ticket form (or other forms)

Post by shostakovich »

Code: Select all

index.pl?Action=AgentTicketPhone;Subaction=StoreNew;ExpandCustomerName=2;From="RBehr"+<rbehr@example.com>;CustomerID=RBehr
...may be a good start...
RBehr
Znuny expert
Posts: 167
Joined: 26 Jan 2011, 13:23
Znuny Version: 3.0.7
Real Name: Rod Behr
Company: Impact
Location: London, United Kingdom
Contact:

Re: Autopopulate the New Phone Ticket form (or other forms)

Post by RBehr »

shostakovich, you the man! Thanks. Works perfectly.
Rod Behr
Software Design Manager and Database Analyst | Impact Audiovisual | London
Installation: OTRS 3.0.7, Apache 2, Strawberry Perl 5 on Ubuntu 10.04.3 Server with separate MySQL Server, also on Ubuntu 10.04.3
Post Reply