Please advise me how can i write Query to get all Items from Pages library to find all pages which Title start from A-F.

Thanks Ronak


You need to use <BeginsWith> CAML operator: http://msdn.microsoft.com/en-us/library/ms476051(v=office.12).aspx

  • And chain multiple of them (A through F) with OR
    – Louis
    Apr 2 '12 at 2:40

You might be able to to a simple alphanumeric comparison, like filter all pages where Title > "A!" and Title < "G!"

Your Answer

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

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