- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2023 10:13 PM
I am trying to add the " search for duplicates" ui action to the workspace
The button is visible, need help to fix the code
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2023 01:07 AM
below code fixed this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2023 10:45 PM
Search for Duplicates UI Action ,Searches existing articles for duplicate content based on Short description, category, and topic etc.
Check your UI action Onclick defnition , For example ,I am giving you the sample code here. you can modify the code according to your requirement.
if my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2023 11:42 PM
What i see is you posted same script in the UI action,i have done that please look into workspace client script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2023 11:09 PM
For customers switching over to Agent Workspace, Client Scripts will not work the same the way as it works in native UI.
The client scripts needs to modified so that they work the same way in native UI & Workspace.
1. Open the client script which is not working in Workspace.
2. Select the UI Type field, and set the value to All
Also please refer the Knowledge Article if not already referred.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0694100
if my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2023 11:44 PM
There is no client script here to select UI type ALL , ,can you give me the client script running behind this where i can set UI type