Welcome to TechNet Blogs Sign in | Join | Help

Collaboration Blog

James Kemp's thoughts on SharePoint, Communicator, Groove and other collaboration technologies.

News

  • Locations of visitors to this page

    Hungry for more? Enjoy a free feed!

How to see items added to a SharePoint list/library that meet a custom date value?

This post will describe how to create a view of a SharePoint list or library which displays the items/documents that meet a custom date value.

Scenario

A 'New Employees' view is needed on an 'Employees' list to allow the Head of HR to see who has joined the organisation in the last three weeks. However, the HR secretary only adds the details of new employees every Friday, making the option described in the last post inadequate. To achieve what is required:

1.       Create the list/library

2.       Click Create Column on the Settings menu of the list/library

 

 

 

 

 

 

 

 

3.       Enter Date Joined as the Column name

 

 

 

 

4.       In the Name and Type section, click the Date and Time radio button

 

 

 

 

 

 

 

 

 

 

5.       Click OK

6.       Click Create View on the Settings menu of the list/library

 

 

 

 

 

 

 

 

 

7.       Under Start from an existing view, click All items or All Documents  

 

 

 

 

 

8.       Enter New Employees as the View name

 

 

 

 

 

9.       Check the Make this the default view check-box 

10.   In the Filter section, click the Show items only when the following is true radio button

  

 

 

 

11.   In the first drop-down, select Date Joined

 

 

 

12.   In the second drop-down, select is greater than

 

 

 

 

13.   In the text-box, type [Today]-21

 

 

 

14.   Click the And radio button

15.   Under When column,  in the first drop-down, select Date Joined

 

 

 

 

16.   Under When column,  in the second drop-down, select is less than or equal to

 

 

 

 

17.   In the text-box, type [Today]

 

 

 

18.   Click OK

Posted: Wednesday, March 19, 2008 11:38 AM by James Kemp

Comments

Mikael Söderström said:

Do you know if there is a list with keywords, such as [Today]?

Thanks,

Mikael Söderström

# March 19, 2008 8:27 AM

James Kemp said:

Hi Mikael,

I am not 100% sure what you mean. Could you provide more detail on what you are aiming to do?

Thanks,

James

# March 19, 2008 9:04 AM

Sean Lawrence said:

I think that Mikael, like me, are looking for a reference of values one can use in both SharePoint Views and Calculated fields. Is there such a reference?

# March 27, 2008 1:48 PM

James Kemp said:

Thanks Sean. I now understand the problem. I think this is a very interesting problem and one that many people (like you and Mikael) would like to know. For this reason I plan to make a new post to explain it in detail.

# March 28, 2008 12:28 PM

Richard said:

Hi James,  Did you ever compile that list of parameters, such as [Me], [Today] or can you guide me to a link where these parameters are listed - is there anything in the MS documentation on-line?

# March 27, 2009 8:55 AM

James Kemp said:

# March 30, 2009 6:35 AM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

  
Enter Code Here: Required

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker