0

I have a scenario where i want to show all past events in different colors.
I looked if microsoft had used any different class names to differentiate between past,present and future events, but unfortunately not.

Is there any way to achieve this.

Thanks in advance.

1

If I have understood the requirement correctly. This is possible through overlay calendar view.

  1. Create a calculated column e.g. Past Event with the formula =[Start Time]<TODAY(). Make sure that return type is Yes/No.

enter image description here

  1. Create a Calendar View (In my case it is called 'PastEvents-Cal' and ensure Filter is set to 'Yes'

enter image description here

  1. Create an Overlay Calendar. You will be able to select the Calendar View you have created. Good tutorial about overlay calendar here and here enter image description here

Results:

enter image description here

| improve this answer | |
  • Thanks for the answer. Actually my requirement is to display events(past,present,future) events in alternative colors for example blue and green. Upto this I have implemented and all events are showing in alternate colors. Now I want to show past events in lighter shades of blue/green color. – Unknown Jun 5 '17 at 7:48
  • Did you try what I have suggested? – SharePointer Jun 5 '17 at 7:53
  • Yes I have tried. It displays past events two times. One from the current view and another from the PastEvents view. Event then there are only few colors available in overlay. The requirement is to have lighter shades of present event color. – Unknown Jun 6 '17 at 4:42
  • Please look at the tutorial links provided 1) two events, you need to create an empty filter view - details is provided in the step 3 tutorial 1, 2) second tutorial providing details about the colors. – SharePointer Jun 6 '17 at 8:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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