I'm new to the Sharepoint client object model and I'm having difficulty getting all of the items from a particular
List along with their column data. I think it's confusing me because it's actually a
Folder set to display as a
List which is then filtered by a
The setup is like this:
List: Managed Collateral
View: Proposal Collateral
Folder: Proposal Collateral
Folder relative URL: /sites/collateral/Managed Collateral/Proposal Collateral
Which looks like this:
I can use methods like
GetFolderByServerRelativeUrl("path"); to get the
Folder objects respectively. I get the correct
Count returned from these so I think they're returned correctly.
I've tried iterating through these but I can only ever seem to access static properties like
file.TimeLastModified, but my list shows columns like
I've tried things like
file["Content_x0020_Type"] but that didn't work for me either.
How do I get a Folder, then loop through each item and get the data from the columns from the associated List/View?
I can post my code if needed, but I felt it would just confuse matters.