Notifications

55 views

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

Seen In

There is no data to report.

Intended Fix Version

New York

Safe Harbor Statement

This "Intended Fix Version" information is meant to outline ServiceNow's general product direction and should not be relied upon in making a purchasing decision. The information provided here is for information purposes only and may not be incorporated into any contract. It is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. The development, release, and timing of any features or functionality described for our products remains at ServiceNow's sole discretion.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-12-11 10:26:19
Published:2018-11-19