Creating simple tasks calendar for SharePoint sidebar

I needed view of SharePoint calendar where I can see not accomplished activities from beginning of calendar until tomorrow. If you ask me why I needed something like this, there is a simple answer: this calendar contains almost everything that is going on (mainly different milestones and deadlines).

As it is common calendar and everybody wants to see everything then there is no need for personalized filter. And there was one more requirement – there must be support for states of tasks describing if event is planned, done or canceled, so we can show in sidebar calendar only the planned tasks or events.

Here is my solution to this problem.

  1. Create new calendar if you don’t have one.
  2. Add new column called Begin Date.
  3. Follow the instructions given in my previous post Filtering SharePoint calendar by Start Time.
  4. Add new column called Status.
  5. Status must be required field and let’s say it may have values Planned, Done and Canceled. Planned is default value.

Now the calendar list is okay and we can go further and create a web part that is showing tasks the way we want.

  1. Go to page you want to put your tasks calendar and open it in edit mode.
  2. Add your calendar to right side of page and open it in modifying mode.
  3. Go to views list and click on Edit the current view.
  4. Web part view is opened and now you can customize the view.

All we need to do is to add some filter conditions and – of course – sort order of the list. Let’s start with sort order. To see problematic tasks (the tasks from previous days) on top of list and newer ones after these, we have to sort the list by Begin Date to ascending order. As our list may be pretty long we want to show there only tasks that are started in the past or that take place today or tomorrow, we need one filter based on Begin Date. To make sure we have only planned tasks visible in our list, we need one filter more – for Status.

  1. Sort your list by Begin Date to ascending order.
  2. Add filter condition where Status is equal to Planned.
  3. Add filter condition where Begin Date is less that [Today]+2.

Save the list, web part and page and go to the page where your web part is. Now it should show only planned tasks for past, today and  tomorrow.

See also

3 thoughts on “Creating simple tasks calendar for SharePoint sidebar

  • Bjoshi says:


    Nice stuff!

    I have a question. Is there way to link .net calendar to sharepoint events so that when people click on the dates it will show the events of that respective date stored in the sharepoint calendar. Basically I want to have a simple calendar in quick launch of my page and when people click on any date of calendar it should display events on that date on the right side of my page.


  • Gunnar says:

    Hmm… you should be able to do it without .net calendar. You can change your site’s templates so calendar is shown on pages you add this.

  • The Antswer says:

    In other words, I would like to create recurring tasks with completion stati…is this possible?

Leave a Reply

Your email address will not be published. Required fields are marked *