Custom UI Action/Button on a configurable workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi Community,
We are working to enable a functionality to transfer a WSD Case (task inherited) to incident. We do not have Universal Request installed right now - hence working on a custom implementation.
Our logic includes below artifacts
1. UI Action calling a UI Page via GlideModal: GlideDialogWindow
(The UI page server side logic then deals with the closure of current case, creating new incident, mapping case details and copying the case attachment to the newly created incident.)
The UI page when get's rendered after clicking the UI action - prompts for 2 inputs -> Priority and Category
Problem: We are able to see this button in the workspace - but when clicked the dialog window does not get populated. I believe this is due to the GlideDialogWindow
Assistance: Kindly let me know if I need to configure this this somewhere else. Would really appreciate any leads 🙂
Regards,
Ritik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
46m ago
You can use g_modal instead of GlideDialogWindow and refer to the articles for more information
Workspace UI Action g_modal reference field query
How to use UI actions in Workspaces
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
41m ago
you need to use g_modal to open UI page and render
You can check lot of OOTB UI actions which handle something similar
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
