Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Query SharePoint List View

$
0
0
As per http://msdn.microsoft.com/en-us/library/ms434064.aspx if we uselist.GetItems(query, view.ID.ToString("B").ToUpper());properties of the view that is specified by the viewName parameter override the properties that are specified in the query object that is passed through the query parameter. For example, if the query object includes a tag that specifies only items containing a particular column value, while the view specifies to return all items, this method retrieves all of the items

 

So is there any way to query a sharepoint list view (not All Items) using CAML query?

I this retrieving view in a data table and query it later, which is an option but might give a performance degradation.

 


Regards, Aj (http://www.aj-sharepoint.blogspot.com/) MCTS


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>