- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2025 12:33 AM
Hi,
We want to create UI action on list view of security incidents in SIR workspace. After selecting multiple records when click on that UI button then pop winodw should be display with 1 dropdown and 1 string field. Also submit and cancel button should be there.
Until now we are able to create a button and display it on list view but 2nd part we are stucked.
Kindly suggest a way to achieve the same.
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2025 09:47 PM
Hi Pranali,
You can create a UX Action Implemented as Client Script and use glide modal methods to create pop up of your choice and create a Scripted Rest API to perform server-side operation. You can call the Scripted Rest API from client script and also you can pass parameters.
e.g. To Call Scripted Rest API from client script use
fetch('/<resourcepath_from_scripted_rest_api>?'param1=' + encodeURIComponent(sysid)+'¶m1=' + encodeURIComponent(note), {
method: 'GET',
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json'
}
})
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2025 01:17 AM
Hi @Pranali18
good that you have the button visible, it is a good first step. What does the UI Action contain?
You might want to take a look at Glide Modals:
- https://www.servicenow.com/docs/bundle/yokohama-api-reference/page/app-store/dev_portal/API_referenc...
- https://www.servicenow.com/docs/bundle/yokohama-api-reference/page/app-store/dev_portal/API_referenc...
Let me know how did you progress
/* If my response wasn’t a total disaster ↙️ ⭐ drop a Kudos or Accept as Solution ✅ ↘️ Cheers! */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2025 10:37 PM
@GlideFather Thank you for your response.
I'm not able to use Glide modal in List action as there we can either select client or server both will not work at a time.
I'm able to create a page under list, now not sure about how to trigger that. New to UI builder so do not have any idea on event mapping. Please advise.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2025 09:47 PM
Hi Pranali,
You can create a UX Action Implemented as Client Script and use glide modal methods to create pop up of your choice and create a Scripted Rest API to perform server-side operation. You can call the Scripted Rest API from client script and also you can pass parameters.
e.g. To Call Scripted Rest API from client script use
fetch('/<resourcepath_from_scripted_rest_api>?'param1=' + encodeURIComponent(sysid)+'¶m1=' + encodeURIComponent(note), {
method: 'GET',
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json'
}
})