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.
Dashbords or multi-pivot report PDF export not working - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • Dashbords or multi-pivot report PDF export not working
KB0656987

Dashbords or multi-pivot report PDF export not working


1866 Views Last updated : Aug 1, 2024 public Copy Permalink
KB Summary by Now Assist

Description

If an instance has some ui scripts customizations it could break Export to PDF of a dashboard or Export to PDF of multi-pivot reports.

Steps to Reproduce

Assumption: User who has admin right logged into a ServiceNow instance. 

Pre-Conditions:  The instance should support Homepage export to PDF enabled using the WHTP server.

Flow of Events:

  1. Create new homepage or open an existing homepage
  2. Export to pdf the dashboard

Post-Condition: The export shows an error and PDF is not generated

Workaround

Exporting to PDF is a process that renders the Page converts it to a PDF. The rendering part is problematic and for some cases it is found some Global UI Scripts had some issues with that.

To avoid the issue, change global UI scripts so they only run when not exporting to pdf.

To do this:

if (window.location.href.indexOf('WHTP') == -1) {

.... // add your code here

} 

As an alternative to using GlideAjax, use jQuery.ajax() or plain JavaScript ajax calls.

Some customers have other customizations that could affect as well, check this Knowledge article: KB0623392 KB0623141 


Related Problem: PRB1240966

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.