ui action back button

jayu271
Tera Contributor

img 1.PNG

I set a back button in table form by creating in new ui action,, it reflected in my  service portal . when i click the back

button it will move to previous page highlighted page in below image.  so help me how to write the script for from form  navigate service portal?

.img 2.PNG

 

2 ACCEPTED SOLUTIONS

Hi Jayu,

 

Open the Required page manually, Copy the above url and paste it in the brackets,

 

Also, check if the UI action, make sure client check box is unchecked

 

action.setRedirectURL('URL');

 

Plz Mark my Solution as Accept and thumbs up, If you find it helpful.

 

Regards,

Samaksh

 

View solution in original post

8 REPLIES 8

Hello Jayu,

 

In addition to it, 

 

If you want to open the page in popup always remember, to use

 

window.open(URL,'popup','toolbar=0,menubar=0,width=600,height=600');

 

 

Ankur Bawiskar
Tera Patron
Tera Patron

@jayu271 

action.setRedirectURL won't work in portal

action.setRedirectURL(url) does not work in UI Action for Service Portal 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Krissy
Giga Guru

Hi,

 

how did you create a back button on the form on your instance side? what script did you use?

 

Thank you