Making the VIP name red in a task table Requested for field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2024 02:45 AM
Hi Team,
I want to make the Requested for field for VIP names in red on a task table , but reqested for is not the direct field on TASK table how can i achieve it by using the client scrip.
Note: Requested for on sc table field info: Dictionary Info: sc_task.request_item.requested_for
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2024 04:01 AM - edited 01-02-2024 04:02 AM
Yes @Ankur Bawiskar , and am writing this onload script on SC task table. Below is my script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2024 08:39 AM
Hi @Ankur Bawiskar Now am getting the the VIP icon for VIP user but the name is not coming in red color. How can I get it ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2024 07:12 PM
try to check the html element id
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2024 12:30 PM
Hi @Ankur Bawiskar Sorry I didn't get you Kindly correct me what I have done wrong in my above script.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2024 02:17 AM
Hi @Ankur Bawiskar Kindly help me on this above code am getting the VIP icon for VIP users but Requested for value still is not in red color.