0

I have one sharepoint group with contribute permission which has 3 users. If any one of the group member is logged in to the sharepoint site, he will get the tasks that are assigned to that group and assigned to that logged in user. please help me to achieve this goal. All the suggestion would be appreciated. Thanks in advance.

1 Answer 1

0

One way to achieve your goal is by dropping the task web part on the page and use SharePoint designer to change the query part of the list view. Here's the query that will show the user's task and the group's task.

   <Query>
    <Where>
      <And>
        <Or>
          <Membership Type="CurrentUserGroups">
            <FieldRef Name="AssignedTo"/>
          </Membership>
          <Eq>
            <FieldRef Name="AssignedTo"/>
            <Value Type="Integer">
              <UserID Type="Integer"/>
            </Value>
          </Eq>
        </Or>
        <Neq>
          <FieldRef Name="Status" />
          <Value Type="Text">Completed</Value>
        </Neq>
      </And>
    </Where>
    <OrderBy>
      <FieldRef Name="Created" Ascending="FALSE"/>
      <FieldRef Name="ID" Ascending="FALSE"/>
    </OrderBy>
  </Query>
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.