Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Multiple viewfields in SPSiteDataQuery

  Asked By: Ganesh    Date: Jun 23    Category: Sharepoint    Views: 1893

I want to get multiple fields in a SPSiteDataQuery. How do I accomplish

I have tried myDataQuery.ViewFields = "<ViewFields><FieldRef
Name=\"Title\" /><FieldRef Name=\"Name\" /><FieldRef
Name=\"FileRef\" /><FieldRef Name=\"FileDirRef\" /><FieldRef
Name=\"File_x0020_Size\" /><FieldRef
Name=\"FileLeafRef\" /></ViewFields>";

But this doesn't work



No Answers Found. Be the First, To Post Answer.

Didn't find what you were looking for? Find more on Multiple viewfields in SPSiteDataQuery Or get search suggestion and latest updates.