Migrating UI action in Service Operations Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2025 04:17 AM
I'm trying to migrate the following UI action "Search for duplicates" (table: kb_knowledge) in the Service Operations Workspace.
The UI action is Client Type and it has the following script:
How to write this in the Workspace Client Script?
Thank you
Maddalena
- Labels:
-
Agent Workspace
-
Knowledge Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2025 04:26 AM
Simply ensure these 2 checkboxes are true and use this in workspace client script
function onClick(g_form) {
var shortDescription = encodeURIComponent(g_form.getValue('short_description'));
var url = 'knowledge_home_launcher.do?sysparm_stack=no&query=' + shortDescription;
open(url);
}
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
08-04-2025 11:09 AM
Thank you for sharing this! Getting the Search Duplicates in SOW opening a new tab was driving me batty!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2025 04:34 AM
Hello,
thank you for the reply, but seems like does not working.
Any other ideas?
Maddalena
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2025 04:51 AM
please share your detailed UI action screenshots you created
Also the workspace view has short_description field on form?
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