VIP tag in service Operation workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-14-2024 11:10 AM
Hello All,
In ServiceNow OOB we have VIP tag for caller field in incident form in default view same i have configured for RITM table for "requested for" field. i read some kb articles saying that we can't configure same for sow view. but can we make at least VIP visible at record information section as it already configured OOB for incident form (ref image attached) in sow view.
Basically, i want same vip tag in RITM form in sow view as incident form in sow view.
your response will be appreciated
client script used for RITM table to make vip visible in default view :
function onChange(control, oldValue, newValue, isLoading) {
var requestedForLabel = $('label.sc_req_item.requested_for');
var requestedForField = $('sys_display.sc_req_item.requested_for');
if (!requestedForLabel || !requestedForField)
return;
if (!newValue) {
requestedForLabel.setStyle({backgroundImage: ""});
requestedForField.setStyle({color: ""});
return;
}
g_form.getReference('requested_for', vipCallerCallback);
}
function vipCallerCallback(user) {
var requestedForLabel = $('label.sc_req_item.requested_for').down('label');
var requestedForField = $('sys_display.sc_req_item.requested_for');
if (!requestedForLabel || !requestedForField)
return;
// Check for VIP status
if (user.vip == 'true') {
var bgPosition = "95% 55%";
if (document.documentElement.getAttribute('data-doctype') == 'true')
bgPosition = "5% 45%";
requestedForLabel.setStyle({
backgroundImage: "url(images/icons/vip.gif)",
backgroundRepeat: "no-repeat",
backgroundPosition: bgPosition,
paddingLeft: '30px'
});
requestedForField.setStyle({color: "red"});
} else {
requestedForLabel.setStyle({backgroundImage: ""});
requestedForField.setStyle({color: ""});
}
}
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-14-2024 11:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-14-2024 06:30 PM
Hi @SM123
This is too much customization, ootb vip flag only available on native view buy but in Xanadu release vip flag available on SOW as well but only for Incident.
You can check that , n Try forvRITM
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-14-2024 08:47 PM
Hi @SM123 ,
This feature is added OOTB in the Xanadu store release of SOW for ITSM
Please hit like and mark my response as correct if that helps
Thanks & Regards,
Sumanth meda
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2024 07:52 AM
Hello @Sumanth16 @Dr Atul G- LNG ,
My PDI is xanadu release but i still can't see VIP tag in sow view. Attached ref images,
I made abel tuter VIP.
Thank you!