- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on 05-01-2018 02:18 PM
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
- 3,210 Views
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Good morning everyone! Should be a great week. : )
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
If I declare a CSS variable at both the Theme and Portal levels, which one takes precedence?
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Morning to you as well! Agreed! This should be a good week
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Great question! Theme CSS Variables will overrule the Portal CSS variables. You can try it in Lab 3.1
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
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.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
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.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
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
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi Dave,
CSS hierarchy works as attached screenshot. Hope this helps.
Thanks,
Abhijeet
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
One of the TA's pointed out this nice utility on share.servicenow.com:
Add to Update Set by Ben Hollifield
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Check out this site for some great Portal inspiration - https://serviceportal.io/
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Looking for inspiration? ServiceNow AppShowcase - https://appshowcase.service-now.com/x_snc_app_showcase_index.do#/
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
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
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi all,
Here is a link to the Widget Codes.
https://servicenow.box.com/s/omem0d8k4vstvv71gd1mbqhh5j4cg91x
Thanks,
Abhijeet
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Is the slide deck available for download? Some of the screenshots in the training manual are too small to read clearly. Thanks.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
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
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
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>© {{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;
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
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.
