New customer portal functionality - adapting the ticket registration form

WIth the introduction of the new customer portal functionality, the old form for registring tickets have been removed. How can we now add fields additonal fields the customer should fill in and which populates fields on the ticket? Do we have to script this link?

RE: New customer portal functionality - adapting the ticket registration form

Hi Patrick,

Introduction of new customer portal functionality has not removed any options for customers who prefer to edit customer center source files to adjust ie form for registering ticket. 
All standard customer center source files are accessible in application under "cogwheel"->Customer centre source files

If you want to add additional fields it involves newTicket.html and in some cases ticketPosted.html.

 

Av: Michel Krohn-Dale 2. des 2019

RE: New customer portal functionality - adapting the ticket registration form

Good!

Have been looking at the files and have done some customizations (added page for listing projects a logged in user are involved in). When it comes to adding fields to the registration form, is it just to add? Trying to understand where the form is processed but it looks like the script is not accessible.

Av: Patrik Larsson 2. des 2019

RE: New customer portal functionality - adapting the ticket registration form

Hi,

Basically when newTicket.html is posted it will end up on ticketPosted.html, meaning that you can include code to set your fields in this file.

<h3>%lang("lang_customer_framework_newTicket")%</h3>
Your inquiry has been registered with request ID no. %ticket.id%

%EJSCRIPT_START%
<%
Map variables = getCgiVariables();
printLine(variables.toJson());

%>
%EJSCRIPT_END%

 

Av: Michel Krohn-Dale 2. des 2019

RE: New customer portal functionality - adapting the ticket registration form

Many thanks for pointing me in the right direction, then I know what I shall have a closer look at and test.

Av: Patrik Larsson 2. des 2019