0
votes
1answer
62 views

Get version history of all items in a list

I'm looking for a way to get a list of all the status changes of every item in a SP2007 document library. I want to build some reports that show the average length of time a document spent in a given ...
1
vote
1answer
93 views

Surfacing an SharePoint Online Access Services query for use externally

Is there any way to write a query in Access Services for SharePoint Online, and surface its results through either web services or the Client Object Model for .NET? Like the way that the tables are ...
1
vote
3answers
4k views

How to authenticate user in sharepoint online using javascript

I have one sharepoint online 365 site. In that one public site will be there. In that there is sign-in option. Generally When ever user clicks on signin it will redirect to microsoft login page. But i ...
1
vote
1answer
384 views

How can I get a list of all user alerts set on a site collection in SPO?

I need to retrieve a list of user alerts set on a particular site collection in SharePoint Online. This is possible through the web UI under Site Settings -> User Alerts, but requires that I choose ...
1
vote
1answer
338 views

Create C# web service that returns SharePoint ListCollection

I want to create a WebService that returns the SharePoint ListCollection in JSON format. I have tried by using following code: ClientContext ctx = new ClientContext("mySite"); ctx.Credentials = new ...
0
votes
1answer
375 views

Get ListItem ContentType and Metadata values at a specific version

I'm trying to figure out a way, using the Sharepoint Client Object Model, to get the content type and the metadata values of a listItem at a specific version. I can get the different versions using ...
1
vote
0answers
239 views

How to get the distinct values from sharepoint list using GetListItem and bind to dropdown?

I am Passing the XML for getting List item and binding to dropdown. Here i have shown the code.. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ...
2
votes
1answer
145 views

Get list of installed apps using Client Object Model

I have been trying hard to find any example, resource which explains how to get a list of installed apps in SharePoint 2013 environment using Client Object Model. So far I have found nothing. Could ...
1
vote
2answers
198 views

Advice on starting development for SharePoint in C#

I'm about to start development of client-side application (C# using .NET 4.0) that connects to SharePoint. Mainly to download/upload documents. I've found out that there are several options: using ...
1
vote
2answers
674 views

accessing the SP2013 Site Settings-->Master Page/Navigation settings etc using CSOM (client side object model)

I want to access the SP2013 Site Settings-->Master Page/Navigation settings etc using CSOM (client side object model) using JavaScript or REST service or Webservice which I can call from Javascript. ...
1
vote
1answer
117 views

I am confused about the Javascript Client Object Model and when it can be used

Is it only intended for use "inside" SharePoint? Using the .Net/C# client object model I can execute applications on my local machine and access a remote SharePoint server. I can only find examples ...
1
vote
1answer
276 views

Windows 8 App using COM dlls of Sharepoint gives error “Cannot resolve Assembly or Windows Metadata file 'System.Web.Services.dll'”?

I have created a sample app using Windows 8 C# XAML to get site info of SharePoint 2010 using COM Dlls. I have added reference of: C:\Program Files\Common Files\microsoft shared\SharePoint ...
2
votes
2answers
952 views

Share Point Client Object Model SAML token from STS

I am planning to use the share-point client object model to get the data(Lists etc) from share-point site ( Sharepoint site and mobile sites are hosted on two different machines/IIS servers). I do ...
7
votes
5answers
5k views

Creating Nested Folders via Client Object Model

I'm trying to create nested folders in my document library so it looks like this: http://site/PublicDocuments/Folder1/Folder2/Folder3/ The document library "Public Documents" exists but none of the ...
1
vote
2answers
2k views

Read data from excel sheet using SharePoint2010 Excel Services

I am working with SharePoint 2010. I am created client object model application to access data from Excel Sheet which is uploaded on SharePoint Server. How can i do this ?
1
vote
0answers
128 views

SharePoint Online External Sharing Feature - Available through API?

I have a case where we would like to create a web part for use in SharePoint Online where users can request to share a site with an external vendor. We would like to automate the process of Sharing to ...
0
votes
2answers
521 views

Route a document to a Record Center using Client Object Model

I need to programatically upload a document and route to the record center with all content organizer rules. This should be a Client Object Model Solution. I have a solution in Server Object Model. ...
1
vote
3answers
2k views

jquery and javascript : can i get the last ID from document library?

Is there a way to get the last ID from a Document Library with javascript/jquery?
1
vote
1answer
218 views

Developing an intermediate Web-Service : using client object model or sharepoint model?

I need to develop a C# Web Service running on the SharePoint 2010 server which acts as an intermediate service between a Java system and this Sharepoint system. Which technology would this Web ...
0
votes
3answers
838 views

What is the difference between CamlQuery and SPQuery

Maybe a simple question, when to use CamlQuery and when to use SPQuery ? I think that SPQuery is used inside a WebPart running on the SharePoint server, and that CamlQuery is part of the Client ...
1
vote
1answer
374 views

How to get server datetime without postback using JSOM or services

My application page may be long time without reloading, and user changed system date and time. And I need to know datetime from server, not from client.
3
votes
3answers
5k views

How to get Item from ListItem with Client Object model

I'm trying to printOut some items from a ListItem. But when run the code I get following exception: "Invalid usage of query execution. The query should be executed by using ExecuteQuery method on ...
3
votes
1answer
4k views

How to programmatically retrieve item version history from client?

Using server-side code I can access List Item version history using SPListItem.Versions. Is there a way to programmatically access the same information from the client? I am happy to use either the ...
12
votes
5answers
4k views

WebServices or Client object model?

I am writing a Silverlight control which will display the data from SharePoint list for use in SharePoint 2010 site. I am considering wheather to use Client Object Model or SharePoint web services ...
1
vote
1answer
3k views

Setting User column value via Client Object Model

I'm trying and failing to set the value of a User column via the SharePoint client model: int userID; string displayName; /* Look up userID and displayName from Web Service here */ ...
1
vote
1answer
416 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 ...
0
votes
1answer
2k 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 ...