Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Sharepoint caml query issue

0 views
Skip to first unread message

Amit

unread,
Nov 11, 2009, 6:21:01 AM11/11/09
to
Hi,

I want to fetch data from a specific folder in a list using CAML query.
I do not want to use this on the basis of folder guid as we have unique
folder names.

According to one of the U2U blogs, this can be achieved by giving the
relative url of folder in QuerOptions tag like:
<Query>
<Where>
<IsNotNull>
<FieldRef Name='ID' />
</IsNotNull>
</Where>
</Query>
<ViewFields />
<QueryOptions>
<Folder>BriefCase/test1/test2</Folder>
</QueryOptions>

But all the results are returned in this query,instead of items in that
particular folder.

Any idea how can we achieve items in folder using CAML.

0 new messages