Forum Discussion

Frank Nielsen's avatar
Frank Nielsen
Copper Contributor
Nov 14, 2019

CAML Query with two conditions not working

Hi all. I am very new to CAML Quey in SharePoint, but I want to make a query in a highlighted content web part, with two conditions, and it is not working :(. If I only set one condition, then the re...
  • O365Developer's avatar
    Nov 15, 2019

    Frank Nielsen 

     

    Hi Frank,

     

    Not sure which version of SharePoint you are usingQuery looks OK for me ,AND condition wont work.

    Make sure you use OR condition,However we can design the CAML Query using the UI Tools or google  with CAML Query Builder /CAML Designer

     

    here is the link

    https://www.biwug.be/resources

     

    I hope this works for Sharepoint online too,just check it.

Resources