The CreatorCon Call for Content is officially open! Get started here.

ajax
ServiceNow Employee
ServiceNow Employee

find_real_file.png

Course: Service Portal Fundamentals

Dates: May 6th & 7th

Instructors: Darren Halliday, Sandy Propsom and Tom Sidebottom

This forum allows you to ask questions and communicate with your classmates and instructors during the Service Portal Fundamentals Pre-Conference Training presented at Knowledge 18

 

Comments
Darrin Greene
Tera Contributor

Good morning everyone! Should be a great week. : )

daveatwood
Kilo Contributor

If I declare a CSS variable at both the Theme and Portal levels, which one takes precedence? 

Kevin Eldridge
Kilo Expert

Morning to  you as well! Agreed! This should be a good week

Vladimir Kobeti
Giga Guru

Great question! Theme CSS Variables will overrule the Portal CSS variables. You can try it in Lab 3.1

Community Alums
Not applicable

Edit: If set with a !default on a CSS variable ($var-name: value !default), rather than CSS line (h1{color: something !important}), the theme will take precedence over the portal.

 

The Portal level will take precedence over the Theme configuration.

Community Alums
Not applicable

I tested by putting a h1 tag on a widget and two color: something !important; css definitions, one on the portal and one on the theme. The theme entry took over.

abhijeet_yadav
ServiceNow Employee
ServiceNow Employee

Hi,

 

Service now Service Portal Best practices.. Few links can help,

CSS Specific : https://codecreative.io/servicenow/6-best-practices-for-service-portal-css

Configuration Overview: https://docs.servicenow.com/bundle/helsinki-servicenow-platform/page/build/service-portal/concept/po...

 
 

 

Thanks,

Abhijeet

abhijeet_yadav
ServiceNow Employee
ServiceNow Employee

Hi Dave,

 

CSS hierarchy works as attached screenshot. Hope this helps.

 

Thanks,

Abhijeet 

Jonah Piascik
Tera Expert

One of the TA's pointed out this nice utility on share.servicenow.com:

Add to Update Set by Ben Hollifield

 

Giles Lewis
Giga Guru

find_real_file.png

April Jones
ServiceNow Employee
ServiceNow Employee

Check out this site for some great Portal inspiration - https://serviceportal.io/ 

 

April Jones
ServiceNow Employee
ServiceNow Employee

Looking for inspiration? ServiceNow AppShowcase - https://appshowcase.service-now.com/x_snc_app_showcase_index.do#/

 

ajax
ServiceNow Employee
ServiceNow Employee

This Update Set was created by one of the Service Portal Fundamental instructors at Knowledge 18.  The update set contains a new application titled 'ServiceNow Links', the application also contains Modules that link to external sites that may be useful when creating a Service Portal. These Modules are not inclusive of all potential resources; I encourage you to research resources that are useful for your specific needs. –Tom Sidebottom

abhijeet_yadav
ServiceNow Employee
ServiceNow Employee

find_real_file.png

abhijeet_yadav
ServiceNow Employee
ServiceNow Employee

Hi all,

 

Here is a link to the Widget Codes.

 

https://servicenow.box.com/s/omem0d8k4vstvv71gd1mbqhh5j4cg91x

 

Thanks,

Abhijeet

Jonah Piascik
Tera Expert

Is the slide deck available for download?  Some of the screenshots in the training manual are too small to read clearly.  Thanks.

abhijeet_yadav
ServiceNow Employee
ServiceNow Employee

Apologies, but can't share the slides. May be screenshot or a click may help if the slides aren't clear in book..

Thanks,

Abhijeet

Daniel M3
Giga Contributor

Dynamic Footer for the year

 

A little script I use so my organization does not have to update the year in the footers of our portals: 

HTML

<div class="copyright">
<p>&copy {{data.year}} ServiceNow Inc. All Rights Reserved</p>
</div>

 

Server Script

var year = new GlideDateTime();

var year_string = year.getYearLocalTime().toString();

data.year = year_string;

Community Alums
Not applicable

For anyone interested in setting up external search sources, there is a nice little template on the Docs site:

Tutorial: set up an external knowledge base search source

Note: You will need to have access to an external REST resource that can deliver the data be able to script it out.

Version history
Last update:
‎05-01-2018 02:18 PM
Updated by: