Filter SharePoint 2010 datasheet view based on currentusergroups out of box
-
28-09-2020 - |
Question
Please help if there is a solution out of box in SharePoint 2010, which helps filter datasheet view on currentusergroup.
Through sharepoint designer, it is doable to change CAML
<Query>
<Where>
<Or>
<Eq>
<FieldRef Name="AssignedTo"/><Value Type="Integer">
<UserID Type="Integer"/></Value>
</Eq>
<Membership Type="CurrentUserGroups">
<FieldRef Name="AssignedTo"/>
</Membership>
</Or>
</Where>
</Query>
http://sharepointcodes.com/filter-list-view-by-user-and-groups-in-sharepoint/
However this is not out of the box, and since SPD is disabled in moss 2010, it cannot be used.
I am asking if there is out of the box solution where you can set code in the browser?
Solution
Use JQuery with SPServices(spservices.codeplex.com), it uses a CAML query to return results. Your script can be added to the page using a text document uploaded to any library and then called via the content editor web part.
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange