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.
Service Portal: Blank page and CSS Console error when trying to display HR pages in the Page designer - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • Service Portal: Blank page and CSS Console error when trying to display HR pages in the Page designer
KB0717021

Service Portal: Blank page and CSS Console error when trying to display HR pages in the Page designer


1515 Views Last updated : Apr 7, 2024 public Copy Permalink
KB Summary by Now Assist

Description

Service Portal: CSS Console error when trying to display scoped portal pages in the Designer

the Issue is due to scoped app. You can see the non-scoped HR portal works - visit /hrsp and you'll be able to pull up the page in designer.

 

Error seen in console:

 "Cannot read property 'css' of undefined"

 

 

 

 

Steps to Reproduce

The Human Resource plugin needs to be installed.

1. Access https://emparamijak.service-now.com/
2. Navigate to
https://emparamijak.service-now.com/$spd.do#/hrportal/editor/hrj_dashboard/

3. If you go to any other portal, the pages display correctly in the editor.


Expected behavior
The HR page should be displayed in editor mode

Actual behavior
A blank page is displayed instead of the HR page in editor. In addition, the CSS error is displayed in the console.

Workaround

The workaround is to open the page on the designer from the context of a portal in Global scope.

For example, it'll work fine here (using sp_config):
/$spd.do#/sp_config/editor/hrj_dashboard/


You will be in sp_config context but that won't matter, you can still edit the hrj_dashboard or other any pages.


Related Problem: PRB1244775

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.