Using SharePoint 2007 and Designer I made custom list which includes a filter for a custom view so my clients can only edit certain columns and not others. This code allows SP to identify my users by their membership group so they can only see line items applicable to them. The below code WORKS when editting directly in the filter:
<Where><Membership Type="CurrentUserGroups"><FieldRef Name="AssignedTo"/></membership></where>
I need to add a functionality to allow a certain user group role, let's call them Approvers, to show entries for items that have a status of anything except 'Submitted'.
So essentially I need to merge my code that works with some new code. I can't make a simple calculated statement because it will cancel out my code that works above, so I'm trying to hard code both commands directly and it does NOT work. Any suggestions?
<Where><And><Neq><FieldRef Name="Approvers"/><Value Type="Text">Submitted</Value></Neq><Membership Type="CurrentUserGroups"><FieldRef Name="AssignedTo"/></Membership>lt;/And></Where>