- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2017 07:53 AM
Hi,
I am working on Incident form List view. Based on the cell color of priority, i want the whole row to be colored by the same color. Suppose priority is critical i want the whole row to be red.
I do not want to create style for each and every field. Is there any way to do it only once for the whole record, based on priority.
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2017 08:59 AM
Hi Tanuja
Field style is a preferred option.
Making the entire row to appear in a color may be possible with DOM manipulation - UI scripts etc. But this is not recommended.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2017 08:08 AM
Hi Tanuja,
The only option is to have field styles for all the fields present in list layout and have the color dependent on the value of priority column.
or else you will have to do DOM manipulation which is not recommended.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2017 08:14 AM
Hi Ankur,
I know it is not recommended, but i was looking for a work around of giving style for each field present.
Regards,
Tanuja
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2017 08:30 AM
Hi Chand,
Configure Field Style and define style for each value.
find below screen shot,
Thanks,
Rajashekhar Mushke
Rising star : 2022 - 2024
Community Leader -2018
Connect me on LinkedIn : Rajashekhar Mushke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2017 08:53 AM
Hi Rajesh,
Thank you, But this is not what i am looking for.
From the information given by you, It is coloring only category. But when i want to see the incident in list view, i want all the fields to be colored "anyColor".
Regards,
Tanuja