Sep 01 2022 07:42 AM
Hello All.
I have searched through the threads on this site but unable to find a solution.
So I have a form which students use to request shift swaps, additional shifts, and cancel shifts. Though PA this form copies into a SharePoint list.
When a student cancels a shift I need the row to turn red IF the Logged date and SC- Shift Date fields (shown below) are within 48 hours of each other, for example:
If the logged date is 01/09/2022 and the SC- Shift Date is 03/09/2022 then I want to the row to turn red as a flag for a short notice shift cancellation.
To only formatting I can manage with these cells is if the date matches Today, or a fixed date in the future, I can't set it for 48 hours.
Any solution to this would be greatly appreciated, I've only recently started managing SharePoint lists so still learning.
Thanks
Sep 01 2022 08:54 AM
Solution@Angry_sys_Admin you can do this with a simple piece of JSON view formatting. Click the dropdown next to All Items in the top right of the list and select Format current view. Click Advanced mode and paste in the following JSON code and save:
Rob
Sep 01 2022 12:10 PM
Sep 01 2022 08:54 AM
Solution@Angry_sys_Admin you can do this with a simple piece of JSON view formatting. Click the dropdown next to All Items in the top right of the list and select Format current view. Click Advanced mode and paste in the following JSON code and save:
Rob