- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2025 06:52 AM - edited 03-02-2025 07:20 AM
I've been asked to base highlighting of change calendar items on change type which is working, but I also need to highlight critical priority changes on the same display, regardless of change type. Is this possible? I'm using the OOTB change calendar, maybe I need to create a custom one?
UPDATE: Never mind, found that I can insert Javascript condition in the value field of the Field Style record, working now.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2025 09:42 AM
To resolve this I updated the Field Style record for the change_request table, setting the field name to type but then adding this for value:
javascript: if ((current.type == 'emergency')||(current.priority==1)) {true;} else {false;}
Now my change calendar highlights emergency changes and critical priority changes of any change type in the same color.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2025 10:48 PM
@RitaS - Glad that you found a solution for your problem. So please close the thread by posting the solution in detail which may help other users in the community.
Thanks & Regards,
Vasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2025 09:42 AM
To resolve this I updated the Field Style record for the change_request table, setting the field name to type but then adding this for value:
javascript: if ((current.type == 'emergency')||(current.priority==1)) {true;} else {false;}
Now my change calendar highlights emergency changes and critical priority changes of any change type in the same color.