Wednesday, February 24, 2010

Hiding Views in lists within Sharepoint

Well, this is my first blog on blogspot and this I am sure would help someone address their problems of hiding views.

We have a system for logging issues and our req is to be able to hide the view control to normal users and show it only to a specified set of administrators. After googling, Binging and what not, we ran across this simple solution out of the box.

We created two groups in SharePoint and added the respective users to the groups. Next we added the same forms library web part in the allitems.aspx page and used audience targetting on both web parts with audience targetting set to two different groups. So when a user added to one group logs in, he sees the web part intended for him.

The advantage in doing this was that we got rid of the view dropdown in the second web part we added to the page and targetted that web part to the users.So, the original web part within the forms library has the views dropdown while the other web part that was added by us does not have the views dropdown.

No comments:

Post a Comment