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 ...
2
votes
0answers
10 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
20 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
28 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 ...
0
votes
1answer
20 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
27 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
102 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
31 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
26 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
34 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
108 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
76 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
126 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
72 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
58 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 ...