Tagged Questions
2
votes
0answers
177 views
CrossListQueryCache().GetSiteData(contextWeb) throws NullReferenceException on second query?
I have an auqward problem that's been nagging me on and off for half a years time. It turns out, when I'm finally taking a real shot at it that my query throws a NullReferenceException the second time ...
1
vote
2answers
401 views
CrossListQueryInfo\SPSiteDataQuery how to skip items with specific WebId?
Customer wants to see 10 news items from all webs on front page.
Also customer wants to specify some news that we should skip.
I am trying to do next thing:
var id =1;
<Neq><FieldRef ...
3
votes
2answers
776 views
CAML: Possible to query non existing field?
I'm using SPSiteDataQuery to fetch list contents from 2 different lists.
List A) has the fields CustomField and Title
List B) has only Title
Is it possible to build a (filter) query with ...
1
vote
1answer
443 views
How do I select only top level folders using CrossListQueryCache?
I want to select the list of folders (without subfolders, not recursive) of a Document library using CrossListQueryCache.
Everything is working fine except that i am receiving ALL the folders and ...