VIP CALLER IN SOW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-11-2024 04:19 AM
Can he highlight VIP Caller in SOW Workspace in a form view ? If we can how we can do it ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-11-2024 04:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-11-2024 04:25 AM - edited ‎04-11-2024 04:37 AM
Hi @joel1202 ,
Please refer below threads -
https://www.servicenow.com/community/guided-learning-itsm/agent-workspace/m-p/2442746
If I helped you with your case, please click the Thumb Icon and mark as Correct.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-11-2024 04:45 AM
Hi @joel1202 ,
I tried your problem in my PDI, and I got the answer, I hope this will help you
I created "onLoad" client script. Please refer below code
function onLoad() {
//Type appropriate comment here, and begin script below
if (g_form.getValue('vip') == true || g_form.getValue('vip') == 'true'){
g_form.addInfoMessage('This user is VIP');
g_form.addDecoration('vip', 'icon-star', 'VIP User', 'color-green');
}
}
Here's the output
Please mark my answer correct and helpful if it works for you
Thanks and Regards
Sarthak

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-15-2024 12:32 AM
@joel1202
Please try out below steps
- Create an onload client script.
- Refer to NDS icon list here (https://<your-instance>/now/nav/ui/classic/params/target/st_sys_design_system_icon_list.do) NDS Icons are only supported for workspace like SOW.
- Add this line in the script section - g_form.addDecoration(<field-name>, <icon-name-from-the-above-list>',This is an icon');
- Note: Second argument of the method is from the Icon list mentioned in the step 2. Legacy icon names which start with "icon" are not supported in workspaces.
g_form.addDecoration('caller_id', <nds-icon-name>, 'preferred member');