RSS Feed Is this your first time here? Get regular updates

Extend and customise SharePoint Task lists

Date:October 26th, 2008 Author:Ryan Category: Filter, SharePoint Alert, SharePoint Ideas Comments:5 ;

Introduction

One great feature of SharePoint is the ability to extend and customise the built in List types (such as Announcements, Contacts, Issues and Tasks) to meet your requirements. In this series of articles we will give you some ideas on how you can modify a task list to meet the needs of business processes you have in your organisation.

We will be using a fictitious example of the Credit Control department of a company using a SharePoint Team Site. The Credit Control department is responsible for reviewing the financial details of the companies suppliers and customers, setting and reviewing credit agreements and enforcing credit control. They currently use a standard SharePoint Task List to allocate and control work to the departments Credit Analysts.

In this article we will look at how to add extra fields to the list, and how to generate views to filter and view the same information in different ways.

This article assumes that you already have a Task list setup and have the appropriate permissions to modify the list – if not, see your SharePoint Administrator.

Adding a column

There are several different types of work in this department, such as reviewing credit agreements or enforcing credit control. It would help management to be able to record what type of work each task is. In this example we will be adding a column with a drop down list of work types.

Select “Modify Columns and Settings” on the bottom right of the task list.

Modify Settings and Columns

Under the Columns section select “Add a New Column”
Enter a name for the column, here we have called it “Type” and specify that its a Choice type field
Enter the different choices the user will have (Credit Review, Supplier Review, Credit Control, Other) and leave the other options to the default values.
This new field will be edited using a drop down menu and will be added to the default View (more on Views later)







Think about other fields that could be useful for your organisation – perhaps in this example we could add a field to show if it is a customer or supplier, the hours of work expected or completed – whatever fits in with your business process. Remember though, the more information you record the longer it takes to enter that information and the more cluttered the display will become.

You can also delete fields if they are of no use (you can’t delete the default fields such as Priority/Status etc – but you can hide them from a view if they are not relevant).

Creating a View

Select “Modify Columns and Settings” on the bottom right of the task list.

Modify Settings and Columns

This screen lets you edit an existing view or create a new view. Select “Create a New View”

Create a new view

Select “Standard View” Standard View
Enter a name of “Overdue Tasks” and set the View Audience to Public View as we want other people to be able to use our view. View Name
We want the most overdue tasks (the ones with the earliest Due Dates) at the top of the list, so select to sort by Due Date and Ascending. View Sorting Options
We only want to see the overdue tasks – those that have not been completed and have passed their due dates. Set a Filter to show only those records where the Status is not Completed and the Due Date is less than [Today].Note – [Today] is a special marker that SharePoint understands as the current date. View Filter options
Save the view. Overdue Tasks now appears for all users. You could even add this view to a web part zone on your departments main page – giving a quick view of any overdue tasks that need immediate attention.

Views are very powerful – here are some further ideas, some of which will appear in future articles.

  • Provide different views of the same information to different groups of people showing only those records, and only those fields that are relevant.
  • Use Grouping to list tasks together by the person its been assigned to or perhaps the work type.
  • Use calculated fields. For example if we recorded the estimated time to complete each task then we could have a field showing the estimated time left by using a sum of Estimated Work – (Estimated Work * Percentage Complete)
  • Use totalling to sum fields in the records. For example if we summed the Estimated Time Left field for all Overdue tasks this would give Management an immediate indication of how much of a backlog the department was dealing with.

Related posts:

  1. Tip – Sending an SharePoint email Alert when a Task is completed This post shows you how to set up a SharePoint...
  2. Advanced SharePoint View and Filter techniques Advanced SharePoint view and filter techniques focusing on the task...
  3. How To setup a SharePoint view filter to compare 2 list fields SharePoint workaround to create a list view based on a...
  4. Use SharePoint Filtered Views to Stop Sending Alerts to Yourself How annoying is it when you have just created...
  5. How To Use Filters in SharePoint to show items in the current Calendar Month Its very easy using the Filter feature of SharePoint...
Did you enjoy this post? Get the next one by RSS or by email

Share:

5 Responses to “Extend and customise SharePoint Task lists”

  1. Marian says:

    Hi Ryan,
    Thank you for interesting article. Have you example, to do this same via MOSS feature?
    Thanks
    marian

  2. Josh says:

    What if i wanted

    (x is equal to y and a is equal to b) or (c is equal to d)

    vs

    (x is equal to y or a is equal to b) and (c is equal to d)

    I’ts been bugging me, please respond :)

  3. Ryan says:

    Hi Josh – I am not really sure what you are asking but this is what I think

    * How you do complex boolean such as (x=y and a=b) or (c=d)

    You cant do this using the View filters as you can’t group sections (e.g. the bracketed parts) so you would end up with x=y and a=b or c=d

    http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=376011

    What you could try is using the IF statement in a calculated column to output YES or NO and then filter based on that result – this would give you much more control over the process.

    http://office.microsoft.com/en-us/sharepointtechnology/HA011610101033.aspx

  4. Cory says:

    I’m looking to create a filter to show only the documents that are 2 years or older in a document library. I have tried your [Today]+730 and also -730, but they don’t seem to be working.

    Thanks,
    Cory

  5. Ryan says:

    Hi Cory

    No reason why it shouldn’t work – you’re looking for a filter of Created is less than [Today]-730.

    Send me over a few screenshots showing how you’ve got this setup and I’ll see what I can do to help.

    http://www.pentalogic.net/about/contact-us

    Cheers…Ryan

Leave a Reply