Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Opening Guided tour on a portal page redirecting user back to portal - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Opening Guided tour on a portal page redirecting user back to portal
KB0819823

Opening Guided tour on a portal page redirecting user back to portal


589 Views Last updated : Apr 8, 2024 public Copy Permalink
KB Summary by Now Assist

Issue

After a user created a guided tour on a Service Portal page, when he/she clicks on "Edit with Designer", the guided tour designer loads for a moment, then redirects the user back to Service Portal. Thus user was unable to edit the created "Service Portal" guided tour record in the designer.

Release

Newyork, Orlando and latest releases.

Cause

  • The Guided tour designer was redirecting the user to the portal due to the following custom widget on "index" page.
  • The customer Framebuster widget had below code,
<style> html{display:none;} </style>
<script>
if(self == top || top.location.href.indexOf('sp_config') > -1) {
document.documentElement.style.display = 'block';
} else {
top.location = self.location;
}
</script>

 

  • This script checks the url of the user to see whether the url contains "sp_config", and then decides whether to redirect to the portal page

 

Resolution

 

To allow the guided tour to work with custom Framebuster widget, please update the widget code as below, so that when the page is loaded on guided tour system doesn't redirect to portal instead stay on tour designer view,

 

<style> html{display:none;} </style>
<script>
if(self == top || top.location.href.indexOf('sp_config') > -1 || top.location.href.indexOf('gtb') > -1) {
document.documentElement.style.display = 'block';
} else {
top.location = self.location;
}
</script>




The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.