- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2019 07:45 AM
Hi all,
Need to redirect to a "ui page" after submitting the record producer in a "scoped" application HR. tried "portal.redirect ",portal.url_redirect" etc .Nothing works....
Need help please.
Thanks,
girish.K
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2019 07:08 AM
Have completed this by using a client script to pass the instance "URL" via the variable and call it via "top.window.location " function..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2019 07:48 AM
Hi Girish,
try this
producer.portal_redirect = "url";
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2019 07:53 AM
Hi,
Please read through the documentation on redirecting a record producer.
Redirect after submitting a record producer
producer.redirect
: Enables the redirect behavior within the Platform UI.producer.portal_redirect
: Enables the redirect behavior within Service Portal.
For example, the following code redirects users to their homepage after the record producer is submitted:
- Within the Platform UI:
producer.redirect="home.do";
- Within Service Portal:
producer.portal_redirect = "sp?id=sc_home"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2019 07:56 AM
how to i get an "id "for a ui page???,or is there a different way i should handle this??.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2019 07:59 AM
It would be ui_page.do?sys_id=SYS_ID_OF_UI_PAGE