Questions tagged [sharepoint-clientobject]

API to interact with SharePoint data remotely from script that executes in the browser

Source: Client object model resource center | SharePoint 2010: The new .NET managed, Silverlight, and ECMAScript (JavaScript, JScript) client object models in SharePoint Foundation provide powerful ways to interact with SharePoint data remotely from script that executes in the browser, from Silverlight applications, or from .NET client applications. These APIs include a subset of the features available in the server object model, providing access to objects at the site-collection level and lower within the SharePoint hierarchy.


SharePoint 2013 client APIs provides SharePoint client object model to retrieve, update, and manage data in SharePoint 2013. SharePoint makes the object model available in several forms:

  • .NET Framework redistributable assemblies
  • JavaScript library
  • REST/OData endpoints
  • Windows Phone assemblies
  • Silverlight redistributable assemblies

synonyms: client-object-model

281 questions
1
vote
1 answer

How to get changes from sharepoint 2010 client object model?

Below is the code: ClientContext context = new ClientContext("http://SPSite"); context.Credentials = new NetworkCredential("user", "pwd", "domain"); ChangeQuery cq = new ChangeQuery(true, true); …
1
vote
1 answer

SharePoint 2010 Client Object Model - Proxy Authentication Required

All, A small but irritating issue. I am trying to create a DLL that uses the Client Object model to change a Site Tile Microsoft.SharePoint.Client.ClientContext myCContext = new Microsoft.SharePoint.Client.ClientContext(lsiteurl); …
Yves
  • 11
  • 1
  • 2
1
vote
1 answer

How to get subsites that a logged user has access in sharepoint 2010

I need to retrieve subsites that user has access using Client Object Model. Here's what I've got: NetworkCredential credential = new NetworkCredential(user, pwd, domain); ClientContext clientContext = new…
Thiago Custodio
  • 17,332
  • 6
  • 45
  • 90
1
vote
2 answers

Sharepoint Client model - request timeout

I am receiving a timeout from the Sharepoint Client Managed Object model. Microsoft.SharePoint.Client.ServerException: The operation has timed out. Basically, I am batching 100 updates and sending them at one go. It is no problem for me if takes…
Joseph Caruana
  • 2,241
  • 3
  • 31
  • 48
1
vote
1 answer

Invalid file name error when create sharepoint subfolder with client object model

I need to create subfolder in sharepoint with client object model, the parent folder is existing, this is my code, but I got this error, Invalid file name. The file name you specified could not be used. It may be the name of an existing file or…
1
vote
2 answers

How to search file from a document library using client object model sharepoint 2010

At the moment i am struggling to programatically enable the search functionality to search file from a document library using client object model sharepoint 2010, Can you please help me with the code Thanks Kajal
user1481570
  • 21
  • 2
  • 7
1
vote
1 answer

how to create checkin checkout functionality in file using client object model in sharepint 2010

can you please advise me as how to create checkin checkout functionality in file under document library using client object model in SharePoint 2010 thanks kajal
1
vote
1 answer

LINQPad Dump() method not working for Sharepoint Client Object Model

I'm using LINQPad (2.42) to test some snippets that make use of SharePoint Client Object Model. Basically messing with SPSite, SPWeb, SPList, SPFolder and SPFile. The problem is that LINQPad seems to dislike calling .Dump() for any of the previous…
empz
  • 11,509
  • 16
  • 65
  • 106
1
vote
1 answer

Keeping a client object model connection open

I am writing a WPF app which needs to check a SharePoint list about every minute. It will be doing this from about a thousand machines. I'll probably try to put some intelligence in there to reduce the number of machines doing updates (check to see…
Craig
  • 666
  • 7
  • 17
1
vote
1 answer

Microsoft Client Object Model web service

I understand that using a managed client object model communicated via a web service to the Server-side Object Model. But I can't find any documentation on whether this is a RESTful or SOAP service. Does anyone know of any documentation on this…
Jack
  • 10,313
  • 15
  • 75
  • 118
1
vote
1 answer

Sharepoint 2010 Client OM - How to get the Last approved document version?

I am trying to use sharepoint foundation 2010 as file store for a website. Every document update must go thru an approval cycle and finally gets to a approved status to show up on the website for end users. When a document is updated in sharepoint…
Bhuvan
  • 1,523
  • 4
  • 23
  • 49
0
votes
1 answer

SharePoint 2010 Client Object Model - Kerberos/Claims Authentication

I'm trying to read a value from a list in a remote SharePoint site (different SP Web App). The web apps are set up with Claims Auth, and the client web app SP Managed account is configured with an SPN. I believe Kerberos and claims are set up…
0
votes
2 answers

Better option to read list items form a sharepoint 2010 list using js

i have a concern about which is better option to fetch list items from sharepoint 2010 list in javascript there are 2 available options 1) sharepoint 2010 client object model http://msdn.microsoft.com/en-us/library/hh185011.aspx 2) jquery…
0
votes
1 answer

Why sharepoint not working with Safari browser?

I am developing silverlight web part using client object model for sharepoint 2010. My web part is working properly on IE but it is not working in Safari. I have windows 7 OS and safari 5.1.2 browser. I found that ExecuteQueryAsync() is not working…
0
votes
1 answer

How to send email using SharePoint's Silverlight Client Object Model and avoid creating a web service?

I am developing a Silverlight application that is supposed to send an email to a particular SharePoint user. I need two things: I need to get the email address associated with the SharePoint user BUT MUCH MORE IMPORTANTLY, I need to be able to…
Boris
  • 9,986
  • 34
  • 110
  • 147