I'm currently working with SharePoint lists and i want to get some specific listitems. The following Caml query works for me and gives me two items.
<Where>
<In>
<FieldRef Name='UniqueId' />
<Values>
<Value Type='Lookup'>E0D2E6B2-28F5-4225-8DFD-9C1FFCC8A1CQ</Value>
<Value Type='Lookup'>EDDC5A33-38F9-4A8C-B3A8-1EED0AB98D02</Value>
</Values>
</In>
</Where>
When I add a Value like "test" I receive an exception. It seems that the query will only work if I have an valid UniqueId give up.
How can I make a Caml query to look for more than two UniqueId's in a list? (It is possible that an UniqueId does not exist. (They come from a separate database)
Can someone help tell me more about this?