1
vote
2answers
29 views

How to select and filter list items lookup column with Sharepoint 2013 REST Feature?

I am using SharePoint 2013 REST. I have list which contains many look up columns, I can get list items through list if they are not look up columns but I can't select and also filter based on look up ...
0
votes
2answers
38 views

Is there a way to get all file URLs for a library with a single REST request?

I have a bunch of images in a library that I need to get URLs for each item. I can get the GUIDs with this: /sites/mysite/_api/web/lists/getbytitle('Rotating%20Banner')/items Is there a way to ...
0
votes
1answer
36 views

Modifying folder contenttypeid via REST

I have a library where a customized SPFolder content type is defined. When I use the following code in generating the folder I'm perfectly able in creating one. However, I seem to be unable in using ...
3
votes
1answer
61 views

REST is returning '↵'

I have a problem when returning REST spaces for a textarea from a list. To get the information the REST is returning '↵' instead of space. Need to know how I change this symbol '↵' for space. ...
1
vote
1answer
56 views

Distinguish between approved and not approved items (REST api)

I don´t want to ask the same question here again. But to understand the origin of my question this could be helpful ...
1
vote
1answer
200 views

SharePoint Hosted App Cross Domain Calls to a REST API

I have a SharePoint hosted app and I want to use the JIRA REST API with it. Which means I want to make requests and work with the data from the responses. Because it's a SharePoint hosted app I can ...
2
votes
2answers
84 views

Get links from SharePoint 2013 global navigation using REST

I am trying to get the Global Navigation links using a REST call. https://sitename/sites/test/_api/navigation/menustate?mapprovidername='GlobalNavigationSwitchableProvider'&$filter=IsHidden eq ...
0
votes
1answer
103 views

SharePoint Provider-hosted app: Can't call REST or use JSOM

I have an AngularJS web app that is registered as a Provider-hosted app on an on-premises SharePoint 2013 site (not Office 365 or SharePoint Online). The Provider-hosted app is hosted on a separate ...
3
votes
1answer
131 views

SP 2013 REST API How to get Approval Status for Version History items

This is how SP presents Version History: I use this URL to get file history: ...
0
votes
1answer
199 views

SPServices GetListItems GroupBy

I am using the SPService, the method GetListItems. I need to groupBy the result (distinct). This is my code: var CamlQuery = '<Query><GroupBy Collapse="TRUE"><FieldRef Name="nameA" ...
0
votes
1answer
550 views

SharePoint 2013 REST-API: Reliable way to retrieve all field values of a list item?

I am trying to retrieve all field values of a specific list item via the REST-API of SharePoint 2013. The values will be used for further processing. The goal is to retrieve all field values ...
0
votes
0answers
43 views

Office Online Public Site Cross Domain using REST Api to query List

I have a public Office 365 SharePoint site. I am using the REST Api to query some lists. Well since I have a custom DNS name, upon making my site public I lost the SSL cert on the site. This is ...
0
votes
2answers
158 views

REST API OData Filter on Boolean not Working

When I perform a REST query to the following URL: _api/web/lists/getbytitle('BtProjects')/items?$filter=Active eq true I receive only the one item that has this field marked as false. I get the same ...
2
votes
2answers
278 views

Creating Folder using REST and JavaScript

I'm trying to create a Folder in a SharePoint Image library. I found an answer here but I can't seem to get it to work var web = 'my relative path to the current web'; var lib = 'name of the image ...
2
votes
1answer
171 views

Getting List with REST Service to HTML page on different domain

I am trying to get data from SharePoint and display it in an HTML page on a separate domain using SharePoint 2013's API. The SP instance sits on-prem and the other domain is also within our firewall ...
0
votes
1answer
235 views

creating a subsite using c# and the rest api

Im trying to create a site using the rest api from a console app. I keep getting a "Not well formed JSON Stream". I cant find much on calling the rest api from c# so have been piecing it together ...
0
votes
1answer
133 views

What governs the decision to use server object model or client object model or javascript object model or REST?

What governs the decision to use (in SharePoint 2013)?: server object model (ssom) client object model (csom) JavaScript object model (jsom) REST
0
votes
2answers
137 views

Error: The security validation for this page is invalid

I have as simple function to just upload 1 document in 1 library. I made a REST service as part of a SharePoint solution which I deploy/debug against sp2013. However the list.Rootfolder.Files.Add ...
0
votes
0answers
34 views

ko is not defined - Knockout and SharePoint 2013 Code Embed?

Any special considerations when loading Knockout with code embed on a SharePoint 2013 Page? <script type="text/javascript" ...
1
vote
2answers
130 views

SharePoint User Profile REST API unknown error

I activated user profiles (and managed metadata services), but when I call: http://<mysharepointsite>/_api/SP.UserProfiles.PeopleManager/GetMyProperties I get: <m:error ...
0
votes
0answers
30 views

Expand Group data in Lists

I'm trying to get the list Items with the REST api but I would like to add the group data of the owner (especially the group ID or the groupname) within the items data, Is there a way to expand the ...
0
votes
0answers
31 views

List Item Filtering for Adminsitrators

I have a list that I'm querying using RESTful uris like so: http://site/_api/lists/getByTitle('Links')/items Each item in the list has individual permissions applied to it (both users, and groups) ...
4
votes
3answers
945 views

REST API filter by start and end dates

I'm new to filtering dates with REST in SP but am trying to do something like below but am not sure how to get today's date in as a variable into the request. I don't think I'm too far off so any help ...
1
vote
0answers
84 views

Update folder name using rest api

I am using REST to update folder name via sharepoint apps. My code as follows. executor = new SP.RequestExecutor(appweburl); executor.executeAsync({ url: appweburl + ...
1
vote
1answer
108 views

Need help retrieving site column names using REST service call in SP 2013

I need to retrieve content types and accompanying site column names and fields. Does anyone know how to construct the REST notation to accomplish this? I have tried variations of: /lists/sitecontents ...
0
votes
1answer
83 views

SharePoint REST API - How To Enable Incoming Email On A List

am trying to migrate SharePoint 2010 code to SharePoint 2013 using the REST API. I have a list that is created dynamically, and one of the settings I need to enable, is to allow incoming email into ...
2
votes
0answers
128 views

Workflow getting Access denied when calling the rest web service call

I have followed the MSDN article to give app permission to the Workflow and added the app step in the Workflow with elevated privilege. Under this step, made a web service call to {web ...
1
vote
2answers
231 views

logical not of substringof() in 2013 REST API

I'd like to filter a rest request and get the opposite of: filter=substringof('foo', Title) I've tried with a leading "not" and also ending with "eq false" but those it seems are not valid queries. ...
2
votes
2answers
401 views

How can I search a specific subsite using the REST API in SharePoint 2013?

Which is the best way of limiting search results to a specific subsite when using the search REST API in SharePoint 2013? I've tried adding a new content source ("MySubsiteContentSource") (in ...
0
votes
0answers
26 views

SPO / Rest API Changing TimeLastModified

Is it possible to set (on upload) or modify (e.g. with a PATCH operation) the TimeLastModified attribute in Sharepoint 2013 / SPO via the Rest api? I'm getting mixed signals on this one - I've tried ...
0
votes
2answers
320 views

Force users to enter document metadata before creating a new document in Sharepoint 2013 document library?

First off, I'm new to Sharepoint. With that out of the way, I have a document library based on a custom content type. When working with Sharepoint document libraries some users find the document info ...
3
votes
1answer
274 views

Invalid JSON. A token was not recognized in the JSON content

I fetch data from Sharepoint using perl on a linuxmachine. This worked real good as long as I only had to read data from there. Now that I also have to change data on Sharepoint I'm stuck. Altough ...
0
votes
1answer
330 views

Create site collection from REST Api

I have read guides like http://sharepointryan.com/2013/09/10/create-a-sharepoint-site-spweb-using-rest-in-spd-2013-workflow/ but that is to help create a subsite and not the actual site collection. ...
1
vote
1answer
90 views

OData.ODataContentTypeException when trying to post via perl

I fetch data from Sharepoint using perl on a linuxmachine. This worked real good as long as I only had to read data from there. Now that I also have to change data on Sharepoint I'm stuck. ...
0
votes
2answers
92 views

Getting all sites for user with permissions

I'm trying to get all sites for a user on which he has permissions. For this I'm using the search api. In a for-loop from 0 to totalRows. This is my request url: ...
4
votes
1answer
290 views

App prison break

Me an my colleges were discussing the possibility of breaking out of the sandbox that a SharePoint-hosted apps provide. As most of you know host webs in SharePoint 2013 are protected by deploying apps ...
2
votes
1answer
728 views

Is it possible to make SharePoint lists accessible cross domain using REST API?

Is it possible to make SharePoint 2013 resources accessible via internet using REST API? Say I want to do CURD with a list from outside of SharePoint. How we can manage credentials for this situation? ...
1
vote
1answer
716 views

Get ContentType name with select fields

I have a problem with getting the ContentType name for a item. when i use http://sp2013dev/sites/mms/_api/web/lists/GetByTitle('List')/items(1)/?$expand=ContentType I get as response all Fields ...
0
votes
1answer
193 views

How to make a REST call with a console application to the SEARCH REST API?

I have created a console application by using this tutorial: http://blogs.msdn.com/b/kaevans/archive/2014/03/02/building-a-sharepoint-app-as-a-timer-job.aspx With some differences of course, in my ...
0
votes
1answer
36 views

where are foreign lists and how to query them?

I use REST/JSON to query Sharepoint 2013 where "expand" helps me to retrieve the authors name from a foreign list. .../_api/lists/getbytitle('list1')/items?$select=*,Author/Title&$expand=Author ...
1
vote
1answer
1k views

Get list items created by logged in user with REST api

How can I get all list items created or changed by the currently logged in user with this function? What's the correct query? // Getting list items based on ODATA Query function getListItems(url, ...
2
votes
1answer
200 views

How to add URL to list using JavaScript

I have a list with a title and a url. I'm trying to add a new url using this function function addListItem(url, listname, metadata, success, failure) { // Prepping our update var item = ...
1
vote
1answer
343 views

Sharepoint 2013 delete AttachmentFiles by JS

how can I delete an AttachmentFiles of a list item by Javascript? (with REST or using SP.RequestExecutor) Thank,Nk
0
votes
1answer
1k views

How to Get User Active Directory Groups in Sharepoint Online

I can't find any documentation or a way to find if a user belongs to an AD group with Javascript neither with the REST API or with the client model JSOM. I have a page in a Sharepoint site and I want ...
0
votes
2answers
521 views

Sharepoint 2013 Rest API _api/Web/SiteUserInfoList filter Name

I have some trouble to use the Sharepoint2013 Rest API _api/Web/SiteUserInfoList. I need to use a $filter on the Name. I get always a 400 Bad Request. This is my endopoint rest ...
0
votes
0answers
179 views

Access Denied Calling listdata.svc

I am trying to create a custom InfoPath form to display a List Information , I used REST API it works fine in the preview mode but when I open it in browser it throws up error XML data that is ...
0
votes
0answers
444 views

Office Web Apps Authorization with custom WOPI host from SharePoint 2013

I need to create a custom WOPI Host to serve files from SharePoint to Office Web Apps. The WOPI host is a simple REST service which is deployed in ISAPI. The way office web apps works is like this: ...
0
votes
1answer
104 views

Add file to host web in SharePoint hosted app. Is it possible with Manage permissions?

I wonder is it possible to add a file from a SharePoint hosted App to host web without setting Full permission for the Web? function uploadFile(data) { var url = appUrl + ...
1
vote
1answer
189 views

How to get content types available to a library using the REST API?

Using the REST API, how would I go about obtaining the content types that are available in a specific library in SharePoint 2013? I am aware that I can get the content types of items from a list, but ...
2
votes
2answers
521 views

retrieving subsites from parent web using REST

I am trying to get all subsites from a parent web using REST API. I tried following query which shows "The page cannot be found". mysite/_api/web/parentWeb/webs