Hi all,
I'm trying to find list items with specific attributes using caml.
I created a caml query that uses Last_x0020_Modified and File_x0020_Size for searching items.
then i tried adding Created and Created_x0020_Date both either as Lookup or as DateTime to the caml.
But since i added Created/Created_x0020_Date my query fails with 500 Internal Server Error.
Can someone tell me what I'm doing wrong?
here is my complete Entity I'm sending to SharePoint 2013:
{'query' : { '__metadata': { 'type': 'SP.CamlQuery' }, 'ViewXml': '<View Scope="Recursive"> <Query> <Where> <And> <Leq> <FieldRef Name="Last_x0020_Modified" /> <Value Type="Lookup">2015-02-25T10:10:03</Value> </Leq> <Geq> <FieldRef Name="File_x0020_Size" /> <Value Type="Lookup">1</Value> </Geq> <Leq> <FieldRef Name="Created" /> <Value Type="DateTime">2015-02-25T10:10:03</Value> </Leq> <Eq> <FieldRef Name="FileDirRef" /> <Value Type="Text">/sites/DennisDevSite/alib/Ordner1</Value> </Eq> </And> </Where> </Query> </View>' } }
Thx in advance
Dennis