Service Portal
CASE STUDY 1:π What is the ServiceNow Portal?
π Overview
The ServiceNow Portal, commonly known as the Service Portal, is a user-friendly, customizable front-end interface that allows users to interact with ServiceNow services without needing to access the backend directly.
It functions like a website within your ServiceNow instance, designed for:
- Employees requesting services
- IT agents fulfilling tickets
- Developers building UI elements
π§± Basic Concepts of the Service Portal
π 1. What Is a Portal?
A portal is a self-service interface that displays services, knowledge articles, request forms, and more in a modern and responsive layout. It provides a seamless entry point for users to access key ServiceNow functionality.
"Think of it as the front door to ServiceNow for end users."
It uses widgets, pages, menus, and themes to create a branded experience.
π 2. Key Features
- Search and browse Knowledge, Catalog, and Communities
- Chat with Virtual Agent
- Access to Service Catalog
- Knowledge Base browsing
- Track requests and incidents
- Customizable themes and branding
π Intermediate Concepts
π§± 3. Portal Components
Component | Description |
---|---|
Pages | Layout containers that hold widgets |
Widgets | Reusable UI components (e.g., lists, cards, search) |
Menus | Navigation structure (header, footer, sidebar) |
Themes | Branding: colors, fonts, logos |
CSS Variables | Used for styling the portal |
Script Includes | Server-side logic to support widgets |
You can create multiple portals (HR, IT, CSM) to serve different audiences.
π― 4. Popular Out-of-Box Portals
- Employee Center / Employee Center Pro
- IT Service Portal
- HR Portal
- Customer Service Portal
- Facilities Request Portal
π§ Advanced Concepts
βοΈ 5. Widget Development
Widgets are small components built using AngularJS, HTML, and JavaScript. They are the building blocks of the portal UI.
You can create or customize widgets using the Widget Editor.
function($scope, spUtil) {
$scope.greeting = "Hello, ServiceNow!";
}
π 6. Dynamic Behavior with APIs
Enhance widgets using Service Portal APIs like:
spUtil
spModal
spContext
These allow for real-time interactivity such as modals, notifications, and dynamic field changes.
π 7. Multi-language & Accessibility Support
- Support for multiple languages using i18n
- WCAG-compliant accessibility using ARIA roles, semantic tags, and alt text
CASE STUDY 2: Customizing the Virtual Agent Chat Button in the Service Portal
One effective way to align the Virtual Agent experience with your organization's branding is by customizing the chat button that appears in the Service Portal. I recently guided one of our developers through this task and realized there are multiple approaches to achieve the desired look. Hereβs a simplified guide to help you make these updates.
π§ Update the Background Color
To begin, you can change the default background color (typically Polaris Purple) to match your brand palette.
- Open the theme that your Service Portal is using (e.g., for Employee Center, this would be the EC Theme).
- Locate the CSS Variables section and scroll to the bottom, or use the search function to find the SCSS variable:
$sp-agent-chat-bg
. - Set this variable to your preferred background color.
π¬ Customize the Chat Icons
Another way to personalize the experience is by changing the default chat icon. You can customize both the icon that appears when the chat window is closed and the one displayed when itβs open.
βοΈ Update the Closed Chat Icon
This is the icon visible before a user opens the chat window:
- Go to System UI > Images.
- Create a new image record for your custom chat icon.
- Assign it a name (no spaces) and include the file extension.
- Upload an image with a transparent background to avoid overlapping with the background color.
- Copy the image name β youβll need this for configuration.
Once uploaded, return to your portal theme settings to apply the new icon.
βοΈ Update the Open Chat Icon
This is the icon that appears when the chat window is active. Depending on how much customization your instance allows, you can either replace it via similar steps or use alternate methods for more control.
β Final Thoughts
The Virtual Agent plays a key role in driving user engagement and promoting self-service through the Service Portal. As you adapt the portal or Employee Center to reflect your organizationβs look and feel, don't overlook this critical component. Customizing the chat button helps ensure that the Virtual Agent feels like a natural, integrated part of your user experience.
CASE STUDY 3: β Best Practices
- β Keep the layout simple and user-friendly
- β Stick to your organization's branding guidelines
- β Make sure it's mobile responsive
- β Test frequently using different roles
- β Use caching and lazy loading for performance
π§© Real-World Use Cases
- HR Portal β Submit leave requests, update personal info, view policies
- IT Help Desk β Report issues, request software/hardware, track tickets
- Student Portal β Apply for ID cards, access academic services
π¬ Conclusion
The ServiceNow Portal is a powerful, customizable layer that bridges the user experience and the power of the ServiceNow platform. Whether you're just getting started or building custom components, the portal helps deliver a seamless, branded, and engaging self-service experience for your users.
Comments
No comments yet.