Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Multiple viewfields in SPSiteDataQuery

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

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

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

Share: 

 

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.