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 ...

learn more… | top users | synonyms

3
votes
1answer
1k views

How to get Version history of all fields updated for a list item?

I am developing a ticketing system on SharePoint 2013 onprem. I am storing Ticket data in a list with versioning enabled. On my user end (which is not a SharePoint solution, I can access only CSOM and ...
1
vote
1answer
443 views

SharePoint 2013 REST API: How can I clear a non-string field value?

I'm using the SharePoint 2013 REST API (my last choice, technological constraints require using it vs CSOM) and am encountering an issue when trying to clear any non-string (date, number, etc) field ...
4
votes
1answer
166 views

Getting error while uploading multiple files in sharepoint hosted app in 2013 with REST API

In one of my tasks,i was struck with one issue,that is "While uploading multiple files into document library with REST API". Iam trying to upload multiple files in library with REST calls for an APP ...
0
votes
0answers
55 views

REST/OData SharePoint 2013 Security

I wanted to know is ODATA API is secure from injection. I am asking this question as I am using ODATA extensively on my Internet facing website. Kindly give me experience answer and also give me some ...
0
votes
0answers
57 views

Accessing search API in different domain from a sharepoint-hosted app using REST

I am trying to access the profile search which is in a different domain from my APP. For some reason it doesn't work. var executorTest = new SP.RequestExecutor(searchWebUrl); var urlTest = ...
2
votes
2answers
546 views

Reading a list using REST services

I have a list named as Students and it has 3 Columns named - Name, Branch, Age When I try to read them using the REST API with the url: ...
0
votes
2answers
363 views

Reading a list in javascript

I have a list which i want to fetch at the front end using javascript based on some user inputs. The list has 3 columns - 'Name', 'Branch' and 'Age', and the list is named 'Students'. Now if the ...
2
votes
2answers
2k views

Create list item in sharepoint list using REST API using C#

I have a requirement to create list item in a sharepoint online list using the REST API and c#. How to achieve this. Most of the article show using REST API in jquery and Javascript but I have a ...
0
votes
0answers
66 views

sharepoint app user's self-service registration and authentication

I need to develop an application where users register and authenticate to a website in a self-service manner,and the application is a provider hosted application in Sharepoint 2013. Any ideas of how ...
0
votes
1answer
1k views

How do I update a list item using REST and Data.js?

I want to write a simple SP hosted app that edits a single list item in a list in the app web. Getting the list item collection is fine. Then I want to pass the result to a function that changes the ...
4
votes
3answers
645 views

Updating Lookup Values with the REST API

Is it possible to update a List Item's Lookup Field Value via the Rest API? I can retrieve the field value if I use $select and $expand, but I can't find documentation anywhere that explains how to ...
0
votes
0answers
183 views

RoleAssignments with REST API and oAuth

I'm attempting to use the REST API to migrate files from our users' personal sharepoint sites (e.g. http://organization-my.sharepoint.com/personal/bob@organization.onmicrosoft.com). The account which ...
1
vote
1answer
169 views

RefinementResults not showing using Search 2013 API with anonymous connection

First of all, I do get results even with selectproperties but RefinementResults give me a null value. Does anyone have a solution for it? Url used is: ...
1
vote
1answer
697 views

Authenticate external systems against SharePoint REST services

I want to make the SharePoint(on prem) REST services available for a number of other applications. The other applications are built on different platforms, Microsoft, Java, etc. Applications should ...
2
votes
2answers
686 views

SP 2013 - Updating a multi-value lookup field via the REST API

When adding a new item to list via the Sharepoint 2013 REST API I want to populate one of its multi-value lookup columns. I've tried passing in an array of Ids or a string with separators but nothing ...
1
vote
1answer
629 views

SharePoint 2013 Search Rest API POST request format

I am hoping to save someone some time as I couldn't find anyone talking about this anywhere. I am looking at the SharePoint 2013 Search Rest API documentation and decided to switch my GET calls to ...
2
votes
1answer
253 views

get all joined community sites under current site collection in search results/REST search/CSOM

I've list of community sites in a site collection, and I have a publishing page on my site collection with a content editor WebPart on it. I've to show list of joined community sites on this webpart ...
0
votes
1answer
324 views

managed property with REST api results Xml

I am using Managed Property in my application, it's a custom column in my site collection, I could make a managed property and link this to the crawled property and everything is ok. Now in my ...
2
votes
2answers
234 views

Querying the documents result source SharePoint online returns incorrect results

I'm trying to use the REST api on a SharePoint online site to get results that are only documents. My query string looks like this: ...
0
votes
1answer
209 views

SharePoint Rest Api Filter not working and restrict to a site collection

The rest query is as follows, I want to get most viewed pages. I have used ViewsLifeTime property. This query returns some pages (unwanted) which thier ViewsLifeTime is null. ...
0
votes
1answer
160 views

Changing the Publishing New Page Default Settings using JSOM SharePoint 2013

I have a task where I need to Set the New Page Default Settings as you do at "/_layouts/15/AreaTemplateSettings.aspx" but I need to do this via JSOM. Does anyone know how to do this? The New Page ...
2
votes
1answer
60 views

Integrate SharePoint Calendar in hybrid app

I am trying to have a calendar feature in a hybrid mobile application. One company has a SharePoint site, whose calendar events i want to sync to the mobile app. So far through REST i can see in a ...
0
votes
0answers
157 views

using Rest to update a multi choice taxonomy field in a list

Ive been experimenting with the new Rest services in SP2013 and ive come across a problem. It seems that you cant create a new list item with a taxonomy field that is set as multi choice. Seems fine ...
1
vote
1answer
340 views

GetPropertiesFor ajax call from Sharepoint 2013 app

I tried the below code with GetMyProperties in a SharePoint Hosted app and it works, but the following code gives me a bad request url = appweburl + ...
1
vote
1answer
167 views

Help using Excel REST

Posted a question yesterday and got a great suggestion to use Excel REST. I've looked at the documentation but had a basic question about how to apply it. I've got 3 workbooks in a document library ...
0
votes
1answer
740 views

Using REST API to get Site Groups in SP 2013

I'm trying to use the REST API in SharePoint 2013 to get the site groups. I've been using this link for a little help... http://msdn.microsoft.com/en-us/library/jj245927.aspx It's to do it with the ...
0
votes
1answer
36 views

SOAP - Remaining free space

Is there any way how to find out how much free space is remaing in the whole Sharepoint site? I need to find it out by SOAP interface. Thank you for your comments.
1
vote
2answers
867 views

Upload to DocLib with jQuery (and REST) without HTML5

Uploading Documents to SP 2013 with jQuery and REST work just fine (Properties when uploading Files using REST in SP 2013) but these methods require a HTML5 compatible browser. The problem is now I ...
0
votes
1answer
572 views

Check to see if location exists in sharepoint 2013

I'm developing an application and a part of it involves storing user submitted documents to a document library in sharepoint. Each folder in the document library is identified by the User ID. And ...
3
votes
2answers
348 views

Creating a SharePoint Wiki Page via JavaScript and REST or CSOM

I'm fairly new to developing SharePoint 2013 Apps, and I was tasked to customize the Create New Wiki Page for a Site. The user has to type in the Title, I do some processing, and then when everything ...
3
votes
2answers
681 views

Why do I have to use POST for REST queries?

I am trying to understand the logic with the SharePoint client.svc (_api) Web service. For some queries, for example List GetItems, or search queries, SharePoint requires the use of POST in ajax ...
2
votes
1answer
607 views

Post to NewsFeed using SharePoint 2013 REST services from a workflow with POST method

In SharePoint 2013, workflows we can do a web service call. With this feature we can use SharePoint REST services within the workflow. I want to post to the current users newsfeed from a workflow by ...
0
votes
0answers
27 views

Deploy service on SharePoint online

I have SharePoint online site for which I want to work with list and libraries data on my windows 8 app. I want to write some methods (just like webservice method) to use them for add, edit and delete ...
0
votes
2answers
762 views

REST insert new task item

I successfully inserting item in task list, but with only title, like this: string message = "'Title': 'NewTitle2 updated'" string json = "{ '__metadata': { 'type': 'SP.Data.MyTasksListItem' }," + ...
2
votes
1answer
373 views

How do I query of the current user permissions using REST Call on doesUserHavePermissions method?

I would like to find out whether the current user has "Manage Lists" permission in the site or not. I could not find any example to perform such a query using REST API Calls. The endpoint based on ...
0
votes
0answers
52 views

Page to Search for matching SharePoint Online 2013 Sites and Subsites across the entire o365 tenant. Language and design options?

I'd like to have a Page on SPO that enables my o365 site admin user to search all SPO site collections and sub sites by a string in the URL, Title and Home Page text. What's the best ...
0
votes
1answer
113 views

What are the big enhancements in the 2013 SharePoint REST/Client API? [closed]

The MSDN mentions there are some enhancements in the REST/Client API, but the things it lists seem to already be in the 2010 APIs. Can someone please elaborate on the new features that are NEW In ...
0
votes
2answers
354 views

SharePoint Online: Getting Current User Information

What is the best way to get the current users information. With the UserProfileService unavailable in SharePoint Online what would be the best method for getting a users information. Client was ...
3
votes
1answer
327 views

SharePoint REST POST to upload file produces corrupted or empty file

I've got this jquery/REST process that I thought was uploading a PDF file to SPO 2013 Document library, but it's only producing an empty or corrupt. Anybody know why? function ...
0
votes
2answers
736 views

Access and USE list data across site collections

I have two site collections in SharePoint Online environment (Office 365 dedicated). Site A: https://SharePoint.com/sites/SiteA (Data Source - Read Only Access) Site B: ...
1
vote
0answers
152 views

using sharepoint OOTB DragDrop.js library in Custom webpart

I implemented drag and drop file upload functionality with using REST api in my webpart . But i found an OOTB sharepoint dragdrop.js library which has numerous methods to create drag drop control. ...
2
votes
1answer
424 views

SharePoint 2013 REST - Possible to Upload accross Site collections with embeded code or NAPA? SP.AppContextSite 403

Has anybody been able to REST Upload cross site/domain of a file to a document Library with REST on SPO 2013 thru embedded page code or NAPA? Wondering how app security is set on the TargetSite? I ...
2
votes
2answers
332 views

Nested REST or CAML code to list “NOT-IN” List Join Logic. Possible?

I'm thinking this is possible in SPO 2013? Two Custom Lists. Submitted and Universe (common field employee number) One qualifier condition that applies to both .. dept = Sales I need to list ...
0
votes
2answers
1k views

REST post with metadata column?

I have a jquery script that uploads a file to document library. I'm trying to set a choice column in the same call, but can't seem to get it to work. The upload is working, but Col1 is a choice ...
0
votes
0answers
133 views

Create Field and Content Type in Host Web

I have tried to provision fields and contenttypes to the hostweb but with no success. This is the code to provision the field: $.ajax( { url: appweburl + ...
0
votes
0answers
104 views

Button to delete File from SharePoint Online Document Library - with NAPA/JQuery/REST

Anybody got some sample JQuery/REST code in NAPA to delete a Document library file on SharePoint Online? Ideally, to delete a file on a doc library on another site collection (NOT the NAPA apps host ...
0
votes
1answer
230 views

SharePoint Online o365 JSON data of list of parent site from NAPA? GetbyTitle

Why can't I call REST of the apps parent site from NAPA? I need data from a list on the same level as the app. This chokes. And if I use the Apps URL, it can't find the list with GetByTitle. ...
2
votes
3answers
506 views

How to convert date format in json response to string format in sharepoint?

I have set a column to column type "Date" and the json response from listData.svc for this column is in this format "Created": "/Date(1377683175000)/" , can someone suggest how to convert this format ...
0
votes
0answers
80 views

Unspecified error on REST Service Connection in Designer

I'm using Sharepoint Designer 2010 to query a REST API. I want to embed the results in a data view from my datasource (Insert -> Dataview -> REST), but each time I try to insert it into my webpage I ...
1
vote
2answers
936 views

How to get specific fields in json response from REST api of sharepoint 2010?

I have used angularjs to query for data through listData.svc. A json response is returned. May someone suggest how to get the value of a specific field with javascript?