Ievgen
Ievgen

Reputation: 4443

Sharepoint. Use CAML query to search items

I need to search items inside one list. Can i use CAML query? Case need to be ignored and it should find word inside text... Or CAML not for that purposes?

Upvotes: 1

Views: 2618

Answers (1)

Stefan
Stefan

Reputation: 14880

You can use this CAML query:

<Where>
  <Contains>
    <FieldRef Name='FilterField' />
    <Value Type='Text'>FilterValue</Value>
  </Contains>
<Where>

The contains operator matches items with "FilterValue" in the given field.

Upvotes: 2

Related Questions