2
votes
0answers
64 views

Using JSOM or REST get list items stored in a different web application

In an on-premises SharePoint 2013 environment I need to read list items stored in a different web application using JavaScript based solution. This could either be JavaScript in Script Editor web part ...
0
votes
1answer
28 views

SharePoint2013 Add folder/sub folders to document library from outside SharePoint environment

My requirement is when a button clicked in my application(hosted on a different server), need to check folder exists with the named supplied. If not exits, able to create folder and sub folders in a ...
0
votes
2answers
169 views

SharePoint Rest API internal server error

When I deploy (or debug) the App and I call a REST service (retrieving list items) I get always 500 Internal Server Error, Unknown Error Maybe I tried to get the items before that the list ...
1
vote
1answer
306 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 ...
1
vote
1answer
224 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
0answers
40 views

Get my Current GeoLocation and also to get directions using Navigation in SharePoint 2013

I want to start with getting current geo location from my app in sharepoint 2013 and also to get the directions of the location I wish to go... Will I be able to implement it using NAPA app in SP 2013 ...
5
votes
3answers
565 views

Get if user has permissions to access to a Cloud App for Sharepoint 2013 with JavaScript CSOM or Rest Api

I have developed a Cloud App for SharePoint 2013 on an office 365 server, and I figured out that to set the user permissions(who has access to it) for that app can be find over ...
0
votes
2answers
2k views

Retrieving List Items using REST services in NAPA app

I tried retrieving List items from the List(Marketplace) I created in the Hostweb using REST services in NAPA app , Set the permissions for Web, Site Collection, List to Full Control, Please helpe me ...
0
votes
2answers
1k views

Display JSON results from REST API

I have the following code function execCrossDomainRequest() { var executor = new SP.RequestExecutor(appweburl); executor.executeAsync({ url: appweburl + "/_api/Web/GetUserById(9)", ...
4
votes
1answer
169 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
58 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 = ...
1
vote
1answer
350 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 + ...
0
votes
2answers
781 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' }," + ...
1
vote
0answers
197 views

PublishingPageImage Field is missing when get data through Rest Api to Pages Lib 2013

I want to get PublishingPageImagefield value on REST API method on Pages library with below script. executor = new SP.RequestExecutor(appwebUrl); executor.executeAsync({ url: appwebUrl + ...
0
votes
0answers
64 views

Having trouble setting up a secure architecture using the SharePoint App model and an external REST server

We have a situation that I am having a very hard time finding information on. We need to create an app in SharePoint 2013 that uses an external data source. It's an ODBC source accessing a non-MS ...
4
votes
1answer
2k views

Create multiple items via REST API

I'm looking to bulk create items to decrease the amount of calls being made in my application. In this instance, I'm working on a calendar control that has different needs than what SharePoint OOTB ...
1
vote
1answer
151 views

Sharepoint as REST API Server

I am going to rewrite an application previously developed using Sharepoint 2007. I am not well versed with Sharepoint and the time allotted for the project is very limited. The client wants to keep ...
1
vote
3answers
1k views

Get all users filtering by custom property using sharepoint search api

I need get all users with a custom property using sharepoint search api, this custom property already mapped in sharepoint. I'm using this url, and this retrieves all users ...
4
votes
2answers
2k views

Sharepoint 2013 REST POST: How to add a list item with 'people and group', 'choice,' and 'Url' fields?

I am trying to create a form for a Sharepoint Hosted app that will allow users to request a teamsite. The form writes to a list that is contained in the Sharepoint site collection, from which a timer ...
1
vote
1answer
781 views

REST Api for get all document libraries who has full control of current user SharePoint 2013

I want to get all the document libraries in which current user has full control using rest api. it seems that we can check using effectiveBasePermissions. I have used below script : function ...
2
votes
1answer
851 views

How to call SharePoint 2013 REST API from HTML page

I can get the SharePoint 2013 list/libraries information using REST API, this is working fine from a SharePoint App. If I want to retrieve the same information from a HTML page, I am getting error ...
5
votes
1answer
542 views

REST list item delete does not go to Recycle Bin

I have a SharePoint 2013 autohosted app with a number of lists inside of it. I would like to be able to soft delete a list item using the REST API and have it go to the Recycle Bin instead of being ...
1
vote
1answer
2k 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 ...
4
votes
3answers
3k 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 ...
5
votes
3answers
3k 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
3answers
623 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 ...
3
votes
2answers
2k 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. ...