The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [client-object-model]

API for interacting with SharePoint from .NET, Silverlight, and JavaScript.

Filter by
Sorted by
Tagged with
2
votes
1answer
2k views

Document versioning - different doc types

I have a document library with versioning enabled. Documents are now in some other system and I need to migrate them. The problem is thath different verions migth have diffrente file types (doc, docx, ...
2
votes
2answers
2k views

How do I test if I will be able to execute a query (does the site exist)

When I run a (CAML based query) executeQuery against Sharepoint, sometimes the site does not exist (it is created by a workflow process which may not have run). When this happens, I get a ...
5
votes
1answer
6k views

Document Sets and Client Object Model

What are the options to manage documents sets using Client Object Model? I need to create new document sets and upload some files in them...
2
votes
1answer
2k views

SharePoint 2010 set a custom page as home page through a feature

I have a WebTemplate using a team site as BaseTemplate, and was wondring how I could set the default page as home page instead of the home.aspx page and this during the provisioning process of the ...
3
votes
1answer
889 views

Time conversion via ClientContext

In native SP list I have item with datetime field which shows 24.1.2010. 00:00:00. When I try get it with ClientContext, I got that item field with the time 23.1.2010. 23:00:00. I understand that ...
1
vote
1answer
555 views

SharePoint 2007 Search Webservice client call - darrenjohn's API

I want to get the same result set as sharepoint search returns using webservice/object model, what is right way of doing it? Let's say: If sharepoint search core result webpart says 20 items/result ...
2
votes
1answer
592 views

Client Object Model equivalent of SPPersistedObject?

I have some data for my SP feature that is using the hierarchical object store to persist the data. I would like to read this data using the Client Object Model in an application that will be running ...
1
vote
0answers
488 views

Get group membership of current users using ECMAScript [duplicate]

Possible Duplicate: How do I determine a user's SharePoint group membership using the client object model? How can I use the client object model to get a list of all (SP) groups the current ...
1
vote
2answers
114 views

How to provide a generic service to create and update documents

Problem: We need to create a generic document repository that will store all documents within an enterprise. The repository will be used by external systems, that is other SharePoint Web Applications (...
3
votes
2answers
423 views

link documents in sharepoint 2010

how can i create a link to a document in a library in c# using the object model in sharepoint 2010?
1
vote
1answer
568 views

ClientContext - how to tell if you have an active connection?

I have this code : ClientContext clientContext = new ClientContext(this.siteURL); List oList = clientContext.Web.Lists.GetByTitle("AList"); I cant seem to access any properties for oList, is there a ...
17
votes
1answer
7k views

Client Object Model Equivalent of SPSiteDataQuery?

I'm looking for an equivalent to the SPSiteDataQuery functionality in the Client Object Model (COM). The CamlQuery can be used with an instance of List to execute SPQuery level of aggregation, but is ...
1
vote
1answer
745 views

Custom ECB dropdown menu API?

In 2010 (or 2007) is there a server control that is responsible for rendering of ECB menus? For example, if I wanted to create a custom UI for a Document Library (NOT using XSL/DataViewWebPart/etc), ...
0
votes
2answers
257 views

Sharepoint - 2010: how to add ajaxified part into standard list

I am new to Sharepoint and nearly completely satisfied what lists can do out-of-the-box. But I have to add new column with ajax autocomplete features. I'm extensively reading documentation, books ...
0
votes
1answer
5k views

Create a new link to a document using SharePoint 2010

I need to add a new document link to a document library using the client object model. I suspect I could copy the format of the .aspx file used in the "link to a document" items and upload it as a ...
0
votes
1answer
1k views

ECMAScript Client OM with External List

In SharePoint 2010, for a regular "custom" list calling SP.ListOperation.Selection.getSelectedItems() using the ECMAScript client object model returns an array of item IDs. These IDs correspond to the ...
5
votes
1answer
580 views

Performance of SharePoint 2010 Managed Client Object Model

Is there any published information (by the community or Microsoft) about performance of the new web service based Managed Client Object Model versus the pre-2010 object model?