Redirect user after submitting ticket using the 'form' widget on Service Portal

Sam Ogden
Tera Guru

Hi All,

We have an icon link on our service portal which is a URL link to another portal page which contains the OTTB 'form' widget.

This then loads our incident form so users on the portal can submit a new record:

find_real_file.png

We have the 'disable UI Actions on Form'option selected:

find_real_file.png

When we click save on the serviceportal, an info message appears saying 'record added' and then the user remains on the form.  

find_real_file.png

What we would like is when the user clicks save an info message appears including the number of the ticket raised and then to redirect the user back to the homepage of the portal.

Any advice on how to achieve this is greatly appreciated

Thanks

Sam

12 REPLIES 12

Sanjna
Tera Contributor

@johansec  I have a similar requirement and I tried your solution mentioned above by modifying the client script. The functionality is working fine and it is getting redirected but the issue is when I first click on the UI action there is a leave site browser message displayed. When I cancel that message and click on the UI action again for the second time then it is getting redirected to the custom page. 

Is there a way to get rid of the leave site message on this page and redirect to the custom page in the first click itself? 

santu889
Tera Contributor

Hi Sanjna. I am facing the same issue now. Did you get the solution for it?

santu889
Tera Contributor

Hi Sanjna. I am facing the same issue. Did you get the solution for the problem?