Introduction
Welcome to the Building a Killer Single Page App with UI Builder Lab.
Scenarioβ
In this lab, you'll build out a single-page app interface that allows you to view, create, edit, sort, and search notes.
The overall goal of the lab is to build out an interface for a single-page note-taking app that looks and feels like the other base app shell experiences that ServiceNow ships by default. What each exercise will cover is:
- Exercise 1 - You will build out the layout for the experience home page.
- Exercise 2 - You will add a data resource to query the database for a list of notes and add a repeater to the page to show those notes in a card view.
- Exercise 3 - You will add the ability to search and sort your notes.
- Exercise 4 - You will add the ability to edit existing notes in a modeless dialog window and create new notes
Prerequisitesβ
- ServiceNow Version: Washington D.C.
- UI Builder Version: 25.1.26
- ** UI Builder is now a store application. If you see things different from how they are presented in the lab, check the application manager to see if you've got a pending update.
Download Lab Materialsβ
- Presentation: [Coming soon]
- Lab Guide PDF: [Coming soon]
PDI Instructionsβ
To do this lab in a Washington DC PDI, follow these steps:
- Download the following update set: KillerNotesV1.1.xml
Right-click, "Save Link As"
- Load the update set into your instance.
- Make sure the sn_ui_builder store app is updated to 25.1.26
- Add the x_snc_killer_notes.note_user role to Abel Tuter
Exercise 0: Explore the App
In this exercise, you'll familiarize yourself with the application and experience created.
Applicationβ
The application primarily consists of two tables with a few added fields:
-
Note [x_snc_killer_notes_note]
-
Title | String
-
Text | HTML
-
User | Reference | User
-
Category | Reference | Category
-
-
Category [x_snc_killer_notes_category]
-
Name | String
-
Icon | Icon
-
Color | Color
-
Each table has some demo data available.
Experienceβ
In addition to the two tables, there is a simple experience created with a blank homepage you'll populate throughout the rest of this lab.
Experience creation screen
Experience home page