URL Parameters for Agent Ticket

Hi All, I am creating a template as shown here http://blog.otrs.org/2010/11/02/otrs-3-0-ticket-templates/ but am getting a "Invalid Challenge Token" error. I can get around this by commenting out the line within AgentTicketPhone.pm as follows #$Self->{LayoutObject}->ChallengeTokenCheck() Is there a config change that removes the Token challenge? My goal is to have the Ticket creation page opened directly from another application that can populate values such as Selected Customer. I can select a customer within the URL like : /otrs/index.pl?Action=AgentTicketPhone;Subaction=StoreNew;ExpandCustomerName=2;SelectedCustomerUser=u08708 It show the Customer on the right of screen in its details box, but this doesnt populate the "From Customer" field in the form - does anyone know how to populate this? ThanksJohn

I found my answer to setting the Customer Its a combination of: - PreSelectedCustomerUser=<CustomerID>ExpandCustomerName=2 eg.index.pl?Action=AgentTicketPhone;Subaction=StoreNew;PreSelectedCustomerUser= u08708;ExpandCustomerName=2; From: johnny_hewitt@hotmail.com To: otrs@otrs.org Date: Fri, 16 Mar 2012 15:27:19 +1100 Subject: [otrs] URL Parameters for Agent Ticket Hi All, I am creating a template as shown here http://blog.otrs.org/2010/11/02/otrs-3-0-ticket-templates/ but am getting a "Invalid Challenge Token" error. I can get around this by commenting out the line within AgentTicketPhone.pm as follows #$Self->{LayoutObject}->ChallengeTokenCheck() Is there a config change that removes the Token challenge? My goal is to have the Ticket creation page opened directly from another application that can populate values such as Selected Customer. I can select a customer within the URL like : /otrs/index.pl?Action=AgentTicketPhone;Subaction=StoreNew;ExpandCustomerName=2;SelectedCustomerUser=u08708 It show the Customer on the right of screen in its details box, but this doesnt populate the "From Customer" field in the form - does anyone know how to populate this? ThanksJohn --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
participants (1)
-
John Hewitt