How to redirect to a different page in portal?

Divya choudhary
Giga Expert

Hi,

I am new to portal, I have created a button widget in portal request something page and i want is when i click on that button it should redirect me to a different page(I have created a new page). Can you let me know the script to redirect to a new page?

2 REPLIES 2

Aman Singh_
Kilo Sage

Hi Divya,

You can use in your client side 

$window in the function parameter and use $window.open()

Thanks,

Aman

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

please check below links for solution

Redirect to a different portal page on click of a button

Link button widget

Regards
Ankur

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