- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
UI Builder Essentials Part 5
Table of Contents
Overview
- Create a new page in UI Builder
- Add and style a button component
- Configure the button to dynamically update the form’s Description field
Xanadu
Prerequisites
Before starting this tutorial, ensure you've completed the necessary prerequisites to follow along smoothly. Here are some key articles you might need to reference:
- How to make a workspace from scratch: In this article, we created the Customer Support Workspace.
Troubleshooting
If at any point something isn't working, try clearing the UI Builder cache.
Within your page variant editor in UI builder, click the hamburger menu icon at the top-left, go to Developer > Clear UI Builder Cache. You can also try clearing your local browser cache.
Step 1. Open UI Builder
1. In your ServiceNow instance, use the Unified Navigator to go to Now Experience Framework > UI Builder.
2. When UI Builder opens, you should see the UI Builder Home screen.
3. Select Experiences Tab at the top of the screen.
Step 2. Prepare the page
1. In the Experience Editor, scroll down to find Pages and variants.
2. Select the pre-existing page variant under the Record page.
Editing Required Parameters
incident
and select a random record for the sysID.Step 3. Adding a Button Component
Step 4. Styling the Button
- Component label: Clicked Button
- Component ID: clicked_button
Step 5. Creating a Client State Parameter
- Name: Description
- Type: String (default)
- Initial Value: test
Step 6. Configuring the Button Event
- Field Name: description
Step 7. Testing the Functionality
Conclusion
Congratulations! 🎉 You’ve successfully created a UI Builder page with a button that dynamically updates the description field in a form component!
If you found this guide helpful, consider sharing it with peers or teams looking to elevate their UI Builder skills with dynamic visualizations.
Keep an eye out for future tutorials where we’ll dive deeper into crafting immersive, data-driven experiences. Until then—happy designing, and stay curious!
Check out the Next Experience Center of Excellence for more resources
- 2,044 Views
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.