Now Experience UI Framework
ย
ย
๐จ Now Experience UI Framework in ServiceNow
๐ Introduction
The Now Experience UI Framework is ServiceNowโs modern front-end development framework used to build reusable, fast, and responsive components for the ServiceNow platform.
-
Based on web standards (Web Components) and JavaScript ES6+.
-
Allows developers to create custom experiences beyond traditional forms and lists.
-
Powers Agent Workspace, Employee Center, and custom portals.
๐ก Key Benefit: It brings consumer-grade UI/UX to enterprise applications in ServiceNow.
๐ Core Concepts
๐น Components
-
The building blocks of Now Experience UI.
-
Created as Custom Web Components (using
now-cli
). -
Examples: custom buttons, widgets, dashboards.
๐น Now Experience UI Builder
-
A drag-and-drop interface for creating workspaces, portals, and pages.
-
Place components on layouts.
-
No-code/low-code customization.
๐น Data Binding
-
Components connect to data sources like tables, records, or APIs.
-
Example: A โMy Approvalsโ widget pulling tasks assigned to the logged-in user.
๐น Theming
-
Customize branding (colors, fonts, styles).
-
Aligns with organizational UI guidelines.
โก Developer Tools
๐น Now CLI (Command Line Interface)
-
Tool to generate and manage components.
-
Example command:
now-cli component create my-custom-card
๐น Component Framework APIs
-
Use
@servicenow/ui-component
to create, style, and manage states. -
Example (simple component):
import {createCustomElement} from '@servicenow/ui-core';
createCustomElement('x-example-hello', {
view: () => <h1>Hello ServiceNow!</h1>
});
๐น Data Resources
-
Connect components to ServiceNow data sources like:
-
Table API (query records).
-
Record API (fetch/update specific records).
-
Scripted APIs (custom logic).
-
๐ ๏ธ Real-World Examples
-
Agent Workspace Customization
-
Build a custom component to show priority incidents on the agentโs dashboard.
-
-
Employee Center Branding
-
Add custom cards (Quick Links, FAQ widgets).
-
Theme to match corporate identity.
-
-
Custom App Dashboards
-
Build components showing KPI charts with data from Performance Analytics.
-
-
Third-Party Integration Widget
-
Create a UI component that displays Jira tickets inside ServiceNow.
-
๐ Advanced Features
-
Declarative UI Components โ Build components using XML-like markup.
-
Reusable Packages โ Publish components to be used across instances.
-
Event Handling โ Trigger actions across multiple components.
-
Accessibility (a11y) โ Now Experience framework enforces accessibility standards.
-
Performance Optimizations โ Lightweight and faster than legacy Jelly/UI Macros.
-
Extending OOTB Workspaces โ Add custom panels/widgets to Agent Workspace or CSM Workspace.
๐ Comparison with Legacy UI
Feature | Legacy UI (Forms/Jelly) | Now Experience UI Framework |
---|---|---|
Technology | Jelly, AngularJS | Web Components (ES6) |
Flexibility | Limited customization | Highly flexible |
Performance | Medium | Optimized & faster |
UX | Outdated look | Modern, consumer-grade |
Future support | Limited | Strategic direction of SN |
๐ก Best Practices
-
โ Use UI Builder for faster no-code/low-code customization.
-
โ Create reusable components instead of duplicating logic.
-
โ Integrate with ServiceNow Data Resources instead of direct GlideRecord calls.
-
โ Follow branding guidelines for a consistent experience.
-
โ Optimize for performance and accessibility.
-
โ Avoid mixing old Jelly/AngularJS with Now Experience components.
-
โ Donโt hardcode dataโalways use APIs or data bindings.
๐ฌ Conclusion
The Now Experience UI Framework is ServiceNowโs modern UI foundation, enabling developers and admins to build dynamic, reusable, and branded user experiences.
-
With UI Builder, Now CLI, reusable components, and data binding, it allows creation of workspaces, dashboards, and portals that look and feel like modern apps.
-
It replaces outdated UI technologies, ensuring performance, accessibility, and scalability.
โ In short: Now Experience = Modern UI + Reusable Components + Future-Proof Platform
ย
Comments
No comments yet.