The CreatorCon Call for Content is officially open! Get started here.

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

Mi1
Tera Contributor

Hi,

I'm creating a UIaction in the portal. I want to transition to a specific URL after saving, but the following function cannot be used.

action.setRedirectURL(url)

 

How can I screen when I press a button in the portal?

 

action.setRedirectURL(url) does not work in UI Action for Service Portal - Support and Troubleshooti...

Regards,

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

it's not supported in portal

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

check this for workaround

Workaround to use action.setRedirectURL in Portal UI action

Regards
Ankur

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

View solution in original post

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

it's not supported in portal

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

check this for workaround

Workaround to use action.setRedirectURL in Portal UI action

Regards
Ankur

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

Hi,

Thank you.

Plz tell me more about this.

Is the understanding correct that this workaround needs to fix ootb's Form widget?

Regards,

correct

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