Exercise 3 - Activity 1
Locate the UX Theme recordβ
-
Navigate to the platform view of ServiceNow where you can see the Unified Navigation
-
In the top left corner, expand the All menu if it's not expanded already.
-
Type "Theme" in to the Filter Navigator.
-
Under "Now Experience Framework" find and click on Themes.
-
This will bring up the UX Themes table. Search for "Wasabi Donut" under Name and click on the record to open it.
The "Active" checkbox does not denote whether it is the currently active theme being used by the instance. That is governed by a system property we will cover in a later activity.
Clone the UX Theme Style recordsβ
Here you can see the UX Theme Styles in the center of the page, these are what determine all the different configurations of your theme. You will repeat the following steps for each of the records listed there:
-
Right click on the name of the Style record Mobile Colors.
-
Click Open in New Tab.
-
At the top in the Name field, add "Wasabi Donut - " to the start of the name field, it should now display "Wasabi Donut - Mobile Colors".
-
Right-click the gray header and select "Insert and stay".
-
Close out of this tab.
-
Repeat this process for the rest of the UX Theme Style records. You should end up with new records named:
-
Wasabi Donut - Mobile colors
-
Wasabi Donut - Shape and Form
-
Wasabi Donut - Colors
-
Wasabi Donut - Imagery
-
Wasabi Donut - Typography
noteThe records will not show up in the UX Theme Styles of the theme you are currently in, this is expected behavior.
-
Clone the UX Theme Recordβ
-
Change the name to "Custom Wasabi Donut"
-
Right-click the gray header and select "Insert and stay"
-
We are now in our new UX Theme record. You can see the UX Theme Styles are now empty, this is to be expected. We will now go through and add each of our UX Theme Styles one by one.
-
Double-click the blank box under "Style" to bring up the lookup field.
-
Search for "Wasabi Donut - Mobile colors" and select it in the lookup pop-up.
-
Click the green checkbox
-
Double-click the blank box under "Type" to bring up the drop-down.
-
Select "Core".
-
This associates your UX Theme Style record to the current UX theme. Repeat the process for the other 4 records we created above.
-
Right-click the header and click Save to save your changes. As long as the green bars are next to the lines you added, the changes haven't been saved. Be careful not to lose your work!
Set the new Theme as our instance's themeβ
-
Navigate back to the "Custom Wasabi Donut" UX theme if you are no longer on the page.
-
Right-click the gray header and select Copy sys_id.
-
In the filter navigator to the top left, type
sys_properties.list
to pull up the system properties table. -
Look up the
glide.ui.polaris.theme.custom
system property. -
Set the value to be the sys_id you just copied. (Note: it will be different from what is in the screenshots)
-
Click Save.