Tagged Questions
2
votes
1answer
746 views
CSOM Get ListItem of Folder
In an application I'm working on, I'm interacting with SharePoint (2010) via the .NET Client-Side Object Model, and am trying to account for a large number of possible configurations of document ...
0
votes
1answer
2k views
The property or field has not been initialized. It has not been requested or the request has not been executed
I am getting this error and from what I understand this is when you try and access columns from the list item. I have tried various things including the line below:
clientContext.Load(items, eachItem ...
0
votes
1answer
468 views
Caml query returning multiple lists
Trying to load a list from library containing two files. The following code when tested in CamlBuilder it is returning single row according to the filename selected. But in the program it is returning ...
2
votes
1answer
756 views
Delete item from Client Object Model
I'm trying to delete an Item from a list using the following code:
using System;
using Microsoft.SharePoint.Client;
using SP = Microsoft.SharePoint.Client;
namespace ...
4
votes
3answers
5k views
Cannot get field value of list item through JavaScript
I try to get the value of a list item (that is currently selected). I know that I must load it into the context but even with loading the field explicitly I get the following message.
Microsoft ...
2
votes
2answers
1k views
How to add new item in Links list using Managed Client Object Model?
I have created a standard SharePoint Links list, using Managed Client Object Model (for Silverlight). Here's the code:
ClientContext clientContext = new ClientContext(sitePath);
...