且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何删除自定义筛选器

更新时间:2023-02-16 17:36:29

嗨迈克尔,


如果你已经知道哪些任务导致过滤器失败,那么你为什么不从项目计划中取消发布这些任务并再次保存和发布你的项目。


通过un-在"任务"页面上发布这些任务损坏并且过滤器可能会消失,然后您也可以删除该过滤器。


试一试并告诉我们。



I've an interesting problem (if you want to use that word). I've a user that tried to access the Tasks.aspx page, and upon entry the grid responds with red error text saying "An error has occurred", and then the page finishes rendering. A side effect of this is that all the actions in the ribbon are disabled.

What seems to be the issue is that a filter was created, with start and end dates, and there is an error in the filter (something along the lines of 'start date cannot be after end date').  How this got in this state really isn't the problem, I just want to get rid of the filter for that user.

Normally you'd go into the ribbon, and select "No Filter".  However, as the actions are all disabled in the ribbon, this person cannot clear it out.

Is there a way to, via either PowerShell, or via entry into the underlying database tables, remove this person's filter?  This issue right now basically prevents them from doing anything in the Tasks.aspx page.

Thanks! - M


Michael Mukalian | Jan 2010 - Dec 2010 MVP SharePoint Services | MCTS: MOSS 2007 Configuration | http://www.mukalian.com/blog

Hi Michael,

If you have figured it out which tasks are causing that filter to fail, then why don't you un-publish those tasks from Project Plan and save and publish your project again.

By un-publishing those tasks corruption at Tasks page and filter may go away and then you can remove that filter as well.

Give it a try and let us know.