学习:Advanced SharePoint View and Filter techniques(转)
2011-05-31 15:08
190 查看
Introduction
We discussed in a previous article how to customise SharePoint’s built in Task List and briefly looked at the power of Views with Filters. In this article we will build upon that by demonstrating some advanced use of Filters.This article assumes that you are already familiar with Views and Filters – if not please review the previous article.
Overdue Tasks
To show a task lists Overdue tasks use the following Filter : Status – is not equal to – Completed And Due Date – is less than – [Today] Note – [Today] is a special marker that SharePoint understands as the current date. |
My Overdue Tasks
Add the following to the Overdue Tasks filter Assigned To – is equal to – [Me] Note – [Me] is a special marker that SharePoint understands as the current user. |
Items added in Last 7 Days
It would be nice to be able to enter something likeCreated – is less than – [Today] – 7
in the filter, but alas its not quite that simple!
[EDIT - This work around was written in early 2006 and WSS 2 / SPS 2003 wouldn't accept this - in WSS 3 / MOSS 2007 you can now use a FILTER formula like [Today]-7 as long as you keep the spaces out!]
The workaround is to create a Calculated column and then filter on that column.
Select Modify Settings and Columns, then Add a new columnGive the column name something like “Filter 7 Days” and select a Calculated column | |
Enter a suitable DescriptionIn the Formula box enter “=Created+7″Choose Date and Time format and Date Only Clear Add to default view as we don’t want this field to appear on any of the views | |
Create a new viewSetup a filter to show only : Filter 7 Days – is greater than or equal to – [Today] |
Items Due in the next 7 Days
[EDIT - This work around was written in early 2006 and WSS 2 / SPS 2003 wouldn't accept this - in WSS 3 / MOSS 2007 you can now use a FILTER formula like [Due Date]-7 as long as you keep the spaces out!]Items due in the current Calendar Month
If you need to filter for a Calendar Week/Month (rather than a rolling 7/30 day period) then this post details howHow To Use Filters in SharePoint to show items in the current Calendar Month
Come From: http://blog.pentalogic.net/2008/10/advanced-sharepoint-view-and-filters/
相关文章推荐
- Use Microsoft SharePoint Designer 2010 to customize the list view 3---Parameter and Filter
- SharePoint And Ajax Technology(2):Ajax Control Toolkit学习
- Turn off Mobile View for SharePoint 2010 and SharePoint 2013
- 好文推荐:Development Tools and Techniques for Working with Code in Windows SharePoint Services 3.0
- 好文推荐:Development Tools and Techniques for Working with Code in Windows SharePoint Services 3.0
- Filter the task and subtask in sharepoint 2013
- 学习:SharePoint Caml Filter with Muli-values Lookup field
- SharePoint And Ajax Technology(2):Ajax Control Toolkit学习
- FW:Data View Web Parts and Ghosting in SharePoint Version 2
- SharePoint And Ajax Technology(1):Ajax技术学习
- Sharepoint server 2007 学习笔记
- Sharepoint学习笔记---Linq to Sharepoint--增,删,改操作
- sharepoint 2016 学习系列篇(2)-如何部署sharepoint server 2016(1)-AD域服务器安装和部署
- 【Hadoop学习笔记】HDFS编程实践——FilterAndMerge
- Starting SharePoint designer workflows and "Access Denied"
- Sizing and Capacity Planning for SharePoint 2013 - Resources
- Microsoft SharePoint Technologies : Planning, Design and Implementation
- IOS Core Animation Advanced Techniques的学习笔记(一)
- Customizing and Extending the SharePoint 2010 Server Ribbon
- Sharepoint学习笔记---SPList--使用Linq to Sharepoint间接查询External List(1.通过BCS创建External List)