Need help in UI action button script for Configurable Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2025 02:01 AM
Hello,
we have created a button on platform UI which will call script include.
need the same to replicate in workspace but unable to do so.
UI action script for platform ui:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2025 02:08 PM
Hello, have you looked at the following article https://www.servicenow.com/community/next-experience-articles/how-to-use-ui-actions-in-workspaces/ta... ?
Normally this has enough information to fix your issue. You can also see an out of the box UI action (Report Knowledge Gap) that uses confirm modals and glideAjax : https://<YOURINSTANCE>.service-now.com/nav_to.do?uri=sys_ui_action.do?sys_id=d74f5f3a532230104088ddeeff7b1241.
I Hope it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2025 08:05 PM
for your UI action to work in workspace, you need to write the script in workspace client script
there are many OOB UI actions where you will find use of g_modal with confirm in workspace client script
Did you check that?
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