2

An SPSiteDataQuery. So far I have:

...
query.ViewFields = @"<FieldRef Name=""Title"" /><FieldRef Name=""Author"" />";
...

I just happened to get these two FieldRef's right (purely because they were easy to guess the names of) - but is there an actual list available anywhere for me to find out the names of the published date fields fieldrefs etc.

Thanks a lot.

2 Answers 2

3

Jup, there is a way - with calling Method GetListAndView

0
2

If you want to use a tool that exposes various properties of the SP object model (basically allows you explore all of the sites' fields, lists, content types, and other nitty gritty) and you don't want to have to return to sites like this to discover the next magical method, you really ought to try installing SharePoint Manager 2010

http://spm.codeplex.com/

Big time saver, especially when just getting your SP developer feet wet.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.