0

I have a view I am editing in SP Designer 2013 and I keep getting a "Cannot complete this action. Please try again.Correlation ID:d47ecb9e-10f2-a0dd-4e30-aaddb657494b" error.

My desired filter: (a & b & c) || (x & y & z).

Current code:

  <Where>
     <Or>

        <And>
           <Eq>
              <FieldRef Name="AssignedGroup" />
              <Value Type="Text">Problems</Value>
           </Eq>
           <Eq>
              <FieldRef Name="Status0" />
              <Value Type="Text">New</Value>
           </Eq>
           <Eq>
              <FieldRef Name="LeadTeamMember" />
              <Value Type="Integer">
                 <UserID />
              </Value>
           </Eq>
        </And>

        <And>
           <Eq>
              <FieldRef Name="AssignedGroup" />
              <Value Type="Text">Problems</Value>
           </Eq>
           <Eq>
              <FieldRef Name="Status0" />
              <Value Type="Text">New</Value>
           </Eq>
           <Eq>
              <FieldRef Name="TeamMember" />
              <Value Type="Integer">
                 <UserID />
              </Value>
           </Eq>
        </And>

     </Or>
  </Where>

  • My understanding is you can only put two statements in a <AND> or <OR> so you will need to nest it deeper. – Rothrock Mar 22 at 15:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.