Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Sharepoint View filter by Membership=CurrentUserGroups

$
0
0

Hi,

I am trying to create a sharepoint view that is filtering the data based on the group that the logged user belongs to.

I have created a group named groupTest, and a list. The list has one column that is named visibleToGroup. In this column, some of the items have the value "groupTest", some not.

I have created a view, folowing the instructions from here:

http://techtrainingnotes.blogspot.ro/2012/10/sharepoint-filtering-view-by-group.html

I have opened the view using sharepoint designer and replaced the text between the <where> tags of the query with

<Membership Type="CurrentUserGroups">

<FieldRef Name="visibleToGroup"/>

</Membership>

When I try to save the view to the site, i get the folowing error. "The server could not complete your request. For more information click the Details Button".

Details of the error are:

"Microsoft.Sharepoint.SoapServer.SoapServerException was thrown, Cannot complete this action. 0x80004005

I have found several sites on the internet that are explaining the same thing I was doing and it seems to be working.

What could be the error in my case?

Thanks.


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>