Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

CAML query returning all items despite specified view

$
0
0

Hi.

I am trying to get listitems for a specific View of a list. I am using Jerry Zy's code in 

https://social.msdn.microsoft.com/Forums/office/en-US/37d32027-aec2-4dbc-ab72-fe3ed32c5cb0/retrieving-list-items-from-a-specific-view-using-csom?forum=sharepointdevelopment

I can connect and views are loaded, items are retrieved. In other words. Everything is working fine except that no matter what view I specify all items are retrieved every time.

I am wondering if there are limitations on what kind of view og columns one can use in a view/list in order for this to work. The list has several "Person or Group" type columns, a lookup column, Administered metadata and picklist/choice columns.

The view is grouped by a "Person or Group" column, and filtered by a picklist column.

Any clues?



Viewing all articles
Browse latest Browse all 7589

Trending Articles



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