Open a form in dialog window in Next Experience
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2025 02:35 AM
Hi team,
Understand below use case.
1. I have an INC INC000001 opened in custom workspace
2. On the INC form, i want to show a button called "Quick Close"
3. Upon clicking, it should show a dialog window, with essential fields. The fields in window will be displayed based on user input in the dialog window
4. Click Submit -> Will update the changes in the INC form.
I created a declarative action implemented as UXF Client action.
Created a Dialog window using UI Builder.
However, displaying fields & form in the dialog window requires creating custom components in UI Builder. Is there a way where I can simplify the form layout and write the server logic?
Thanks in advance!
Regards,
Meet M
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2025 03:34 AM
you can use g_modal API and render UI page or your own fields on that page within Workspace client script
Once user enters the data you can update the form field
check this
How to use UI Actions in Workspaces
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2025 04:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2025 04:58 AM
which UI you want this to show?
share screenshot.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2025 05:14 AM
FYI!
Using UI Script & Jelly, we wont be able to achieve such layout. Refer screenshot 2: