The REST (Representational State Transfer) interface in Microsoft SharePoint Foundation 2010 provides access to lists and libraries as a relational data service. A core concept of any RESTful interface is the resource, and in SharePoint Foundation, lists and items are represented as HTTP resources ...
1
vote
2answers
34 views
Listdata.svc via REST refuses to return data
I'm trying to pull down some list data from listdata.svc using the standard method as documented in the msdn:
var listUrl = 'http://development.contoso.com/_vti_bin/ListData.svc/Contacts';
$.ajax({
...
2
votes
0answers
53 views
Query ListData.svc to return document libraries only
I am working on a very simple app on iOS that should basically allow the user to login (got that part working), then list only document libraries and allow user to navigate these and download files.
...
2
votes
0answers
15 views
Updating a wiki page with the REST API
How do you correctly update a SharePoint 2013 wiki page using the REST API?
Three basic capabilities I am interested in:
Reading an existing page (content only)
Updating an existing page
Creating a ...
1
vote
1answer
38 views
ODataContentTypeException : Content Type 'application/json;odata=verbose'
I'm trying to create items in a SharePoint lists through the SharePoint REST API in Javascript (with an AJAX call using jQuery), all that in a SharePoint2013-hosted App.
But I get this error when I ...
3
votes
0answers
43 views
Get list item “Likes” using JSOM or REST API's?
How can you retrieve a list items "Likes" using the JSOM or REST API's? I know there is the following method: SP.Social.SocialFeedManager.getAllLikers(postId), but in testing I was not successful ...
1
vote
1answer
23 views
Sharepoint 2010: Approve Blogpost with REST
Is there a way to automatically approve Blogposts I created with a .Net Webrequest/REST?
I can currently add posts to the Blogs list just fine, but I can't get them to be approved/be published ...
0
votes
1answer
32 views
Export documents from sharepoint to another website
I'm trying to get files and lists from my Sharepoint server showed on another website.
How should I do to make a document viewable on the webpage, that is exported from SP2013? I also want to search ...
0
votes
0answers
15 views
Exporting document content from SP2013 to external webapp
How should I do to make a document viewable on a webpage, that is exported from SP2013 document library.
A user should be able to, through a webpage send a request to view the content of a specific ...
0
votes
2answers
136 views
How to get the ContentType Field From Task List Using REST API In SharePoint 2013
How can I get the ContentType Field value From Task List Using REST API In SharePoint 2013 ?
I tried this code and i got results for ID, Title etc. but for the ContentType field he returned ...
1
vote
1answer
36 views
Adding PublishingPageLayout to file via REST-api
I am adding a file with the REST-API:
http://hostname/sites/site/news/_api/Web/GetFolderByServerRelativeUrl('/sites/site/news/Pages')/Files/add(url='new.aspx',overwrite=true)
How can I additionally ...
0
votes
0answers
33 views
InfoPath encounters SSL error with RESTful service on SharePoint
My settings are:
Excel file on SharePoint documents library.
InfoPath form on SharePoint as a content type that makes RESTful call to Excel file and get data from its ranges. I don't use the data ...
1
vote
0answers
37 views
Find all lists that look up a Contacts list
I have a Contacts list in my site collection, and it is used in lookup columns by multiple other lists.
Is there an easy way to get all the lists that have a lookup column pointing to the Contacts ...
2
votes
1answer
140 views
REST API update a muli-value user field
I have created a custom list and added a multi-value user field (no groups) called AssignedTo to the list's definition. Using the SharePoint interface I added an item with a value for Title and ...
3
votes
1answer
81 views
Updating a Property w/ 2013 REST Api
I have a sharepoint hosted app that is succesfully able to add Read and Create files on the Host site (using the REST Api and SP.RequestExecutor). Now I am trying to figure out how to update ...
0
votes
1answer
162 views
How can I authenticate SharePoint REST calls from JavaScript?
I have been banging my head against a wall on this problem for weeks now
Warning and Disclaimer .. I have very little JavaScript experience when it comes to REST / Web Services
I have an on ...
2
votes
2answers
81 views
How to get file content from sharepoint 2010 server?
TeamSiteDataContext context = new TeamSiteDataContext(new Uri("http://server/_vti_bin/ListData.svc"));
context.Credentials = new NetworkCredential("username", "password");
var f = ...
1
vote
1answer
60 views
ListData.svc REST and URL Encoding of Field 'Parts Released?'
I have a field with the display name Parts Released? but I cannot seem to figure out how to encode the field name. I have tried Parts Released%3f but regardless of what I try I get a 400 Bad Request ...
1
vote
2answers
213 views
Error while pdating Master Page through JavaScript Client Object Model using SP 2013 App
I have created a Site Collection in SharePoint 2013 online.
In this site I am trying to update Master Page through JavaScript Client Object Model.
My JQuery scripts are able to change the Site Master ...
1
vote
1answer
302 views
Setting Search Center URL in SharePoint 2013 using Javascript CSOM
In SharePoint 2013, I am trying to access Search object through JavaScript CSOM.
I want to know the object which can give me the access to Search Settings under Site Settings. I tried looking under ...
11
votes
2answers
264 views
REST and CSOM much slower than List Web Service
lists.asmx = Web Service
listdata.svc = REST API
client.svc = CSOM
Using JavaScript to query a list using the 3 available APIs, I'm finding lists.asmx responds much faster than listdata.svc or ...
3
votes
2answers
934 views
SharePoint 2013 Call the REST API from SharePoint hosted app
I've successfully deployed a SharePoint hosted app to office 365 and my local on premise installation. All the app aims to do is call the REST API for the user profile manager to get the profile ...
3
votes
1answer
57 views
SPS2SAppResourcePolicyException on SharePoint 2013
I have a SharePoint 2013 Provider Hosted App (on premise). When I try to make a social rest call I get the following error code:
-2146232832, ...
1
vote
0answers
37 views
GetUserEffectivePermissionInfo for the 2013 Rest API
Does anyone know if there is a client-side (preferably REST) equivalent to SPSecurableObject.GetUserEffectivePermissionInfo(username)??
0
votes
0answers
53 views
Search Rest Api does not retrun documents
Following query does not return any documents at all but when I search for same text directly from the search box it returns all documents which contain a word that starts with test.
...
2
votes
3answers
422 views
Can't upload a non-text file to SharePoint App via REST API
I am using the following REST code to add a file as an attachment to a SharePoint 2013 list item.
<asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server">
<SharePoint:ScriptLink ...
2
votes
2answers
176 views
Query SP2013 Managed metadata term store
I was wondering if it is possible to query the Term Store via the REST API or Javascript Client Object Model in SP2013.
I can't quite seem to work out the naming scheme for the REST API to discover ...
0
votes
1answer
99 views
How to use LINQPad with SharePoint 2013 REST service (/_api)?
It is working just fine with /_vti_bin/ListData.svc, but I can't create connection for /_api URI.
1
vote
1answer
154 views
The field 'EventDate' of type 'DateTime' cannot be used in the query filter expression
I am trying to filter standard Calendar events via SharePoint web api and my query looks like this:
/_api/web/lists/getbytitle('calendar')/items?$filter=( EventDate ge ...
1
vote
0answers
92 views
Getting column information from a sharepoint 2010 list
I'm trying to figure out how i can get information about a column in a Sharepoint List, like what type of column it is (single line, number, date etc...) and whatever additional column info that ...
0
votes
0answers
81 views
Sharepoint integration endpoint (WCF)
This is an architectural question:
I want to create an endpoint for Sharepoint 2010 for outer systems. Its basic functionality is that it is supposed to broadcast info about changes done to ...
2
votes
0answers
88 views
I cannot get “orderby” to work in SPS 2010 listdata.svc REST query
I can get the return list from this query, but if i add the orderby syntax, it just ignores it (no error, just doesn't sort the return set).
...
1
vote
1answer
189 views
ListData.svc with complex filters, Internet Explorer, 400 Bad HTTP request,
I have a problem understanding how ListData.svc can be debugged using IE8 and IE9.
I have a URL that looks like this:
...
-1
votes
1answer
242 views
Why not use Sharepoint 2013 as just a backend for REST / CSOM clients?
This might sound a bit extreme, but now that REST / CSOM API's are more fully featured, why not just write web apps in whatever framework you're comfortable with and utilize the REST / CSOM API's ...
0
votes
1answer
94 views
Consuming On-Prem SQL Data from SharePoint 2013 Online (Office 365)
At a high level, What's the recommended Development model if we want to consume local (On-Prem) SQL data from Office 365 SharePoint 2013 Cloud application?
Say we have a custom SharePoint List Form ...
7
votes
1answer
935 views
SharePoint 2013 and anonymous access problem
We run into following problem:
We have application, that makes authenticated calls to sharepoint 2013 REST services (PUT and GET). Everything works well, when anonymous access
is turned off.
But we ...
2
votes
1answer
261 views
How to perform rowcount with a web service in Sharepoint 2010
Pagination loses some of it's luster with no knowledge of the total number of results. Is it possible to perform a "row count" with either REST or SOAP (getListItems) without getting back all of the ...
2
votes
1answer
247 views
How to update title of Sharepoint web using REST in c#
I want to know how to update title of Sharepoint web using REST. I have used REST to view the title but not sure how to update the title.
I can view the title by exploring ...
4
votes
2answers
730 views
sharepoint 2013 rest api upload image
I want to upload image or create image in Sharepoint 2013 document library using rest api (Javascript)
my code to get bite array from input type file element is
var reader = new FileReader();
...
1
vote
0answers
62 views
How can I check files In using OData for SharePoint 2010?
I am uploading files to SharePoint 2010 following the answer here: Uploading files to Document Libraries using the REST API
The issue is that all of the files are set as checked out due to some ...
2
votes
1answer
464 views
Invalid issuer or signature error in autohosted app - SharePoint 2013
I'm creating my first app for SharePoint 2013. I follow this MSDN article, that explains how to create autohosted app.
This piece of code I took from the article and didn't change anything in it.
...
2
votes
1answer
432 views
How to create a folder in SharePoint 2010 document library using REST or HTTP methods
I am using Java to make calls to the SharePoint REST Interface to get list items of a document library and HTTP methods to upload documents to SharePoint. But, I am having a difficult time trying to ...
1
vote
1answer
141 views
SP 2010 REST $filter column
I'm trying to filter a list using the REST service. The column im trying to filter is the default column "Modified". My problem is: I can get all itens created today, but not only the items created ...
1
vote
1answer
233 views
Using the value from a lookup column, obtained with REST, as a dataview parameter
I was wondering if you could help me with something.
I have a list called Site Configuration. One of the columns is called Package Level (Package_x0020_Level) and is a lookup that looks at the ...
1
vote
2answers
202 views
Which one is strongly typed the SharePoint Client Object Model or REST
I was researching about the SharePoint Client Object Model and REST but I am confused which one is strongly typed.
-1
votes
1answer
405 views
Consume a WCF REST Service with webHttpBinding in Sharepoint 2010 WebPart
I have developed a custom WCF REST service with webHttpBinding in VS2010 and trying to consume in SharePoint 2010 WebPart developed in VS2010. I don't know how to do the settings. Please help!
Please ...
0
votes
2answers
1k views
Public facing website with SharePoint 2013
I'm just getting started with Sharepoint and my assignment is to create a public facing website based on Sharepoint 2013.
If I get it correctly, the new way of buildning things in 2013 is the app ...
1
vote
1answer
190 views
Windows Phone 8 with Sharepoint 2010 Connectivity
How we connect Windows Phone 8 to Sharepoint 2010 and get list data using web services
I found connectivity for Windows phone 7 with Sharepoint 2010 but not found with windows phone 8.Is it same for ...
2
votes
2answers
272 views
SharePoint 2013 APIs for anonymous and/or mobile access
In SharePoint 2013 (Preview), does any of the APIs (csom, REST, etc.) work with anonymous access? With mobile access?
I haven't found any reference to this in the documentation. I did a quick test ...
0
votes
1answer
820 views
Help with parameters, REST and listdata.svc
I'm calling listdata.svc a few times with different URL's depending in what is selected, I have some issues with the parameters/filters.
First URL:
var listUrl = siteUrl + ...
0
votes
1answer
557 views
How to get PublishingRollupImage for page in Page library with REST and jQuery?
I have a repeater in a user control and I databind it in code behind like so:
var items = list.Items.Cast<SPListItem>()
.OrderByDescending(a => ...





