Exploring UI generation
Summarize
Summary of Exploring UI Generation
UI generation on the ServiceNow AI Platform allows developers to create user interfaces efficiently by providing a textual description of the desired experience. With Now Assist for Creator, developers of all skill levels can utilize this feature to streamline their UI building process.
Show less
Key Features
- UI Generation: Developers describe the UI elements, such as tables and charts, triggering AI to generate an initial experience. They can accept or reject the generated UI based on their review.
- Client Script Summarization: This feature offers both concise summaries and detailed explanations of client scripts within the UI Builder. Developers with the necessary role can easily understand and modify scripts.
- Data Binding Generation: Users can input requests in natural language, which Now Assist converts into valid syntax for data bindings. This reduces errors and the need to memorize complex syntax.
Key Outcomes
By leveraging these features, users can enhance the quality of their UI experiences, automate repetitive tasks, and save time during the experience building process. Developers also benefit from clearer insights into client scripts and simplified data binding configurations.
Learn how AI-generated UI experiences can empower developers building on the ServiceNow AI Platform.
UI generation overview
Now Assist for Creator activates the UI generation skill. With UI generation, you provide text describing the UI experience and AI-powered Now Assist can get it started for you. Users with varying levels of experience can benefit from using UI generation to get started building experiences more efficiently.
UI generation Workflow
To generate a UI experience, you describe the table, chart type, and navigation that your users work with. For the best results, you include as much detail as possible.
- The developer describes the desired experience and triggers UI generation.
- The developer reviews the AI-Generated experience and either accepts or rejects it.
- If the developer accepts it, the experience is saved and the developer can begin working with the experience.
- If the developer rejects it, the experience isn’t saved, and the developer can change the experience description to achieve the desired outcome.
Client script summarization overview
Now Assist for Creator activates the client script summarization skill within the UI Builder. This skill provides you with both a high-level summary and a detailed explanation of a client script.
Client script summarization workflow
- The developer logs in to an instance.
- The developer navigates to
- The developer opens an experience with a client script.
- The developer selects one of the pages to open the page editor.
- From the Data and scripts panel, the developer opens a client script.
The Explain Code panel appears if you have the ui_builder_admin role and have enabled the Client script summarization skill.
- The developer selects Explain this code.
A concise summary, along with a detailed explanation of the script's functionality, is displayed.
- If the developer changes the script, a message in the Explain code panel notifies them of the update and asks whether the code should be explained again.
The developer must select Explain again to generate a new summary.
Data Binding Generation overview
Data Binding Generation enables you to state your requests in natural language. Now Assist then converts this input into a valid formula or data binding syntax, which is displayed in the Formula Builder for review, editing, and application. This skill helps to reduce user errors, eliminates the need to memorize syntax, and reduces the time required to configure data bindings.
Module creation using Now Assist
UI generation benefits
| Benefit | Feature | Users |
|---|---|---|
| Improve the quality of UI experiences, automate repetitive experience building tasks, and reduce time spent searching for or recalling experience structure. | Experience generation | Developers |
| Get both a high-level summary and a detailed explanation of a client script | Client script summarization | Developers, administrators |
| Automatically generate a data binding and formula using natural language with correct syntax. | Generate a data binding and formula | Developers |