How to redirect public page

maitakiguch
Tera Contributor

Previously I created public form by record producer, and now I will create new public form by widget.
I want to redirect previous form to new form. I think I need to take action on the record producer.
What should I do specifically?

4 REPLIES 4

Shivalika
Mega Sage

Hello @maitakiguch 

 

Please add below script in record producer - 

 

current.setRedirectURL('/sp?id=<YOUR_WIDGET_PAGE>');

 

Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket. 

 

Regards,

 

Shivalika 

 

My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

 

My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOw

NeEISQCY

maitakiguch
Tera Contributor

Hello @Shivalika 
Thank you for your reply.
I will try what you advised me to do on next week.

Hello @maitakiguch 

 

Sure. 

 

Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket. 

 

Regards,

 

Shivalika 

 

My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

 

My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY

Ankur Bawiskar
Tera Patron
Tera Patron

@maitakiguch 

please share what script did you try so far?

when record producer is submitted you don't want to take user to the target record?

what's your business requirement?

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