- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2019 10:09 AM
In a Record Producer form, how do you refresh the current URL page after a submission.
Information states to not do it a the Catalog Client Script, but doesn't say where to do it.
Solved! Go to Solution.
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2019 10:50 AM
There must be an onSubmit client script that's causing the issue. Can you disable any onSubmit client scripts and try again? One issue at a time... 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2019 10:38 AM
I just tested in a London instance and "producer.portal_redirect = 'sp?id=sc_cat_item&sys_id=38c1fc840a0a0b2700285921c2bf5fc8&sysparm_category=e15706fc0a0a0aa7007fc21e1ab70c2f';" (which is what the URL is on the initial load of the record producer) reloads the page when I click Submit.
Do you get any errors either in the system logs or the browser console?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2019 10:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2019 10:50 AM
There must be an onSubmit client script that's causing the issue. Can you disable any onSubmit client scripts and try again? One issue at a time... 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-25-2020 07:09 PM
Hi there - Did this get resolved? I have the same issue where the redirect works great but the form stays filled in - hitting F5 clears it.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2019 10:16 AM
For platform UI, use:
producer.redirect="home.do";
For Service Portal, use:
producer.portal_redirect = "sp?id=sc_home"
See this page for more info: https://docs.servicenow.com/bundle/madrid-it-service-management/page/product/service-catalog-management/concept/c_PopulatingRecordData.html