0

I'm currently trying to change the background color based on the date and time a task is due. Unfortunately, our head office has disabled the ability to use Scripts and edit CSS on our sharepoint site (The page gets marked for non-compliance and gets taken down until we edit it again). We can edit web parts in the web interface and create workflows.

Is there a way to change the background color through workflows?

1 Answer 1

0

There is no way you can change the background color or any CSS using the workflows.

This can only be done by using CSR or any custom CSS code.

However you can create a new calculated column and show the color coding for that column only and not for complete row. Check example below:

Using calculated columns to add color coding to your SharePoint lists

Note:

  1. Microsoft has disabled the use (or misuse) of the calculated column in SharePoint Online and SharePoint On-premise based on your current patch-level.
  2. So, you need to try creating a calculated field and adding HTML through formula. If it works then fine else you have to use CSR or custom CSS.

Adding Html to a calculated columns

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.