Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Multiple fields in a SPSiteDataQuery

  Asked By: Madhavi    Date: Feb 11    Category: Sharepoint    Views: 1436

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

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

Share: 

 

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

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