Unable to see Turn Off SCSS Compilation field in sp_css theme records

Prakhar7
ServiceNow Employee
ServiceNow Employee

We have a field in sp_css records (css theme records) that turns off scss compilation (Turn off SCSS compilation)

here's the documentation of the link:

https://docs.servicenow.com/bundle/vancouver-platform-user-interface/page/build/service-portal/conce...

 

 

I am able to see this in Vancouver instances but not in Utah instances.

 

Is there a system property to enable it or some other reason for this being missing from utah (even though its presence is mentioned in Utah docs)?

 

Screenshot 2023-09-27 at 10.02.08 PM.jpg Screenshot 2023-09-27 at 10.00.59 PM.jpg

 

 

#serviceportal #utah #vancouver #theme

 

1 ACCEPTED SOLUTION

Prakhar7
ServiceNow Employee
ServiceNow Employee

At the time of writing, this might be an error in Utah documentation as the feature to "Turn Off SCSS Compilation" is available in Vancouver & Washington, but not in Utah.

View solution in original post

4 REPLIES 4

Prakhar7
ServiceNow Employee
ServiceNow Employee

At the time of writing, this might be an error in Utah documentation as the feature to "Turn Off SCSS Compilation" is available in Vancouver & Washington, but not in Utah.

Daniel Peel
Mega Sage

without that checkbox Utah breaks CSS... I have css that works in Tokyo... but not in UTAH...but if added to Vancouver with that flag checked it works again... (does not in Vancouver with that unchecked) is there a way to still use the CSS in Utah?

Prakhar7
ServiceNow Employee
ServiceNow Employee

The workaround involves moving the CSS include (say CSS_i) into the respective theme (eg, EC Theme).
In the newly added CSS Include, you might also want to remove the existing entry from the Dependency tab and navigate to the Themes tab to ensure that the entry for EC Theme is present.

 

I had created a UI page that was linking to the css and in UTAH that UI page will no longer render... as linking to that spcssdbx no longer works
for example

    <link href="73f36a97dbdf4510de4bc13913961957.spcssdbx" rel="stylesheet" type="text/css"/>
going to the instance/73f36a97dbdf4510de4bc13913961957.spcssdbx used to pull up the css file now it will fail to load... thus it doesn't load in the UI page either.  So it's not really in a theme and the UI page is marked as direct.