- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2023 01:55 AM
Hello Community members,
I am learning scripting in ServiceNow & currently working in Agent Workspace for Hands-on, as part of URL- https://www.servicenow.com/community/developer-forum/onload-client-script-help-to-setup-condition/m-...
VIP msg is successfully displayed for VIP Callers on 'Form view in Agent Workspace' for the incident table. But unable to see the VIP msg on the 'List view of Agent Workspace', after referring to the below URLs, I came to know about the 'Limitations of Agent Workspace' so to display the VIP msg on the 'List view of Agent Workspace' is not possible.
Limitations URL- https://www.servicenow.com/community/itsm-forum/display-flagged-vip-s-in-itsm-workspace/m-p/621370
But, yes it supports the background colour field style, so as an alternative I want to set the 'Orange' background colour in the caller field in 'List View of Agent Workspace' (Screenshot for Agent Workspace list view is attached) for ONLY 'VIP' callers for respective Incident records just to Indicate that this xyz caller is a VIP, else NO display of Orange background colour on the caller field in 'List View of Agent Workspace' when the caller is NOT VIP.
I tried to achieve this by following URL- https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0794200 , but not working.
If this is achievable through the onLoad client script, so please help with the script on how to apply/set the background Color 'Orange' on 'List view of Agent Workspace' for only VIP callers, else No display of any background colour to NON-VIP users.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2023 02:53 AM - edited 02-10-2023 02:54 AM
Right click on the caller field
2. go to Configure Styles.
3. Click on "New"
4. Select table where the field belongs.
5. Select the "Color" field in the Field name drop dow box.
6. In the Style field write this line: background-color:orange;
7. Submit.
also refer to this document page :
Regards,
Shyamkumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2023 02:53 AM - edited 02-10-2023 02:54 AM
Right click on the caller field
2. go to Configure Styles.
3. Click on "New"
4. Select table where the field belongs.
5. Select the "Color" field in the Field name drop dow box.
6. In the Style field write this line: background-color:orange;
7. Submit.
also refer to this document page :
Regards,
Shyamkumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2023 08:53 PM
@shyamkumar VK Alternatively, the URL shared is much more helpful, thanks
Response marked as accepted & helpful