A SharePoint-hosted app may provision basic resources into its app web such as HTML/CSS/JS files, site column/content type/list definitions, etc. Under no circumstances can server-side code run within a SharePoint-hosted app.

learn more… | top users | synonyms

0
votes
1answer
10 views

sharepoint notify new items to list

I'm creating a sharepoint hosted app, two pages, default.aspx and admin.aspx. When I update the list in the appweb thru a function in default.aspx, I want that a notify windows will popup to the ...
0
votes
1answer
35 views

Error posting a REST request via cross domain library - Cannot handle Taxonomy Field Value

I have an app that updates a list item then starts a workflow on it. It was working fine, then stopped working the other day. It has started throwing an error regarding Taxonomy fields, but I am not ...
0
votes
1answer
18 views

Send Email from Public App - Sharepoint Hosted App

Function sendEmail(from, to, body, subject) { appweburl = decodeURIComponent(getQueryStringParameter('SPAppWebUrl')); hostweburl = decodeURIComponent(getQueryStringParameter('SPHostUrl')); var ...
0
votes
1answer
67 views

Sharepoint-hosted apps login request from all users

My problem is simple and i was expecting to get a simple solution too. Instead, i already spent days looking of the reason why i get this error and possible solutions. Setup: I followed these steps ...
0
votes
0answers
10 views

Change the user experience of the SharePoint modal dialog when called from a SharePoint Hosted app.

Calling a modal dialog from a SharePoint hosted app works perfectly. My question here is, how can I change the CSS of the rendered modal dialog to make the UX look like it has been called from a farm ...
2
votes
1answer
53 views

How create Sharepoint online site with custom template?

I need to create site in SharePoint Online from SharePoint hosted app. I used code like this: var webCreationInfo = new SP.WebCreationInformation(); webCreationInfo.set_webTemplate('STS#0'); ...
1
vote
1answer
51 views

How to call Rest api in SharePoint hosted app.?

I want to call Rest api which is not of SharePoint. I have created one Api which is in php. And I want to call that api in my SharePoint hosted App. Is it possible to call API which not of SharePoint ...
0
votes
1answer
103 views

Sharepoint-hosted app on-premise 2013

We have been developing SharePoint-hosted apps for SP online with great success, but seems like developing SharePoint-hosted apps for the on-premise 2013 is not so intuitive process. Questions: As ...
0
votes
1answer
30 views

Sharepoint-Hosted apps under https

I have developed an app which is supposed to be hosted on a secure website (https). The DNS records and the SP Configuration is done successfully. My app works fine under the normal http url, but i ...
0
votes
0answers
37 views

Sharepoint-hoted apps for Sharepoint 2013 - X-Frame-Options error

I have developed a SharePoint-Hosted app which is deployed on an on-premise 2013. In short my app is a simple SPA using CSOM and REST calls against SP lists. I also created a couple of Client Web ...
0
votes
2answers
30 views

SP Long operation notifications in SharePoint Hosted apps

Is it possible to implement SPLongOperation (or equivalent) in SharePoint Hosted apps, to use the SP default "Working on it.." dialog until list operations are completed?
0
votes
0answers
19 views

Is it not possible to add user to sharepoint group using REST for cross domain calls?

I am trying to add user to a sharepoint group via "sharepoint hosted app". First I am checking whether the user is existed in that particular group or not, if not I am trying to add that user to a ...
1
vote
2answers
41 views

Default master is not applied to SharePoint hosted app

I am new in creating SharePoint apps. I have created SharePoint hosted app. It is deployed properly. But default master page is not applied to it. It just showing plain HTML page. Your help will be ...
0
votes
0answers
22 views

Display Fields from another List

I am building an app with Visual Studio and I want to use one fields as a lookup and then default some of the other fields to also display. Similar to how you would use the "Add Column to show each of ...
0
votes
0answers
17 views

Calendar List does not work properly in SharePoint-Hosted App

I created a SharePoint-Hosted App. Then added a list to it (of type Calendar). Everything is default, I did not even change the name of the list. I just set it to be starting page to the App and ...
0
votes
0answers
23 views

Deployed sharepoint-hosted app not accessible

I have created a sharepoint-hosted app (sharepoint 2013) and I cannot publish it. I already deployed another provider-hosted apps, the CNAME is configured an seems to work... but when I try to ...
0
votes
1answer
132 views

Get users Manager using Client API

url: appweburl + "_api/SP.UserProfiles.PeopleManager/GetUserProfilePropertyFor(accountName=@v,propertyName='Manager')?@v='" + seluser + "'", For my SP 2013 app I need to get a users manager and I'm ...
0
votes
0answers
10 views

Consume WCF REST service in SharePoint Hosted App [duplicate]

Consume WCF REST service in sharepoint SharePoint Hosted App
0
votes
0answers
25 views

Start site workflow after app is installed

I have created a SharePoint 2013 hosted app with a site workflow. I would like to start this workflow when the app is installed but can't figure out how to do this. I have the code for starting the ...
0
votes
1answer
62 views

How to manage SharePoint hosted app with app-only calls

I have one SHarePoint Hosted app. I given in appmanifest.xml as app only calls and given scope as tenant. <AppPermissionRequests AllowAppOnlyPolicy="true" > <AppPermissionRequest ...
2
votes
1answer
671 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
107 views

Error starting a workflow on host web from within a SharePoint-hosted app

I am trying to start a workflow on the host web from within a web part in an app. Here is my code: var clientContext = new SP.ClientContext.get_current(); var hostWebUrl = hostUrl; var ...
0
votes
2answers
137 views

Javascript url redirection not working in a multi-page sharepoint-hosted app

I wrote a sharepoint app that is almost entirely html/javascript/jquery. Bare minimum asp because that is not my expertise. It works great locally in all browsers when using pure html pages, but I'm ...
1
vote
1answer
218 views

how to use the gridview in SharePoint 2013 Hosted App

I want know how to use the grid view in a SharePoint-hosted App. Can any one provide information on this?
1
vote
0answers
33 views

Do SharePoint-hosted apps have a persistent PropertyBag

I'm trying to store some user-configurable settings inside a PropertyBag. The getters and setters seem to work correctly, at least while the app is still open, but when I refresh the app's page it ...
0
votes
0answers
200 views

SharePoint 2013 App. Workflow Permissions for an app web

I have prepared environment to host apps on SharePoint on-premises, then I have configured workflow manager to work through HTTP and implement simple SharePoint-hosted app with a workflow. My ...
0
votes
0answers
48 views

SharePoint App Asset Library 500 error on add video

I'm trying to make a SharePoint-hosted app which has it's own Asset Library, on a SharePoint Online developer site. I create the asset library by right clicking my project -> Add -> New Item... -> ...
1
vote
1answer
292 views

Difference between provider-hosted app and SharePoint-hosted app + IFRAME for provider

Assume I have an external web application that I want to use as provider for a provider-hosted app. What is the difference between the following two approaches: Using a provider-hosted app and ...
0
votes
0answers
113 views

Copy a list in an App Web to a List in the parent in SharePoint Online

I'm looking at all the cross domain jsom that allows communication from a SharePoint 2013 App to parent host. I have read that (in my case) I can write some code on the parent SharePoint site that is ...
0
votes
1answer
176 views

SharePoint hosted app part is not loaded with error “Refused to display <App URL> in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'”

I am working on a SharePoint hosted app. It runs fine when loaded by clicking on the app icon in Site Contents page. But when I add it to a page with client web part, it is stuck on the 'Working on ...
0
votes
4answers
340 views

Error while calling SP.UserProfiles.PeopleManager.getMyProperties method

I am trying to get current user profile information using the PeopleManager object ( SP.UserProfiles.js ) in a SharePoint hosted app. Code snippet is like below : var peopleManager = new ...
0
votes
1answer
62 views

Chrome control SharePoint hosted app

I am developing an SharePoint-hosted app. Can I edit the chrome control for an aspx page? For html page it is easy but for aspx I don't know how do it.
0
votes
1answer
95 views

Get Managers name and ID from Active directory via client side people picker

I have a working app that uses's a client side people picker to find users...Once i have my user selected i then need to get the selected users Manager and department. I don't think this is readily ...
2
votes
1answer
74 views

Sharepoint Hosted Apps - Why separate domain should be created?

Really, why? You said XSS. Ok, what is XSS? XSS allows me to execute maleficent script on different domain. So, from an app web I can't break something in a host web. But stop. I can request ...
0
votes
2answers
256 views

Invoking SP.ModalDialog in Sharepoint 2013 Hosted Apps

I'm building a SharePoint 2013, SharePoint Hosted app project using the JSOM api. I have to make use of the SP.UI.ModalDialog to popup some content in the app. I have used the getScript method to ...
0
votes
0answers
68 views

“Unable to render data” list items in XsltListViewWebPart

I have a list displayed in an XsltListViewWebPart on the default page of my SharePoint-hosted app, and if I add an item to it and try to select the item (trying to execute a workflow on it) I get a ...
3
votes
2answers
406 views

Remove “+Add” from Calendar View Web Part

I have a Calendar View web part that I've placed in a SharePoint page. Right now it looks like this: I want to prevent the user from editing the list from here--I have an app that will take care of ...
0
votes
1answer
190 views

SP.RequestExecutor.js is never unloaded, should I worry?

I am developing a SP 2013 app and making frequent asynchronous calls via SP.RequestExecutor.js using the REST API. Every time I need a function call I use: jQuery.getScript(scriptbase + ...
0
votes
2answers
277 views

SharePoint hosted APP - Create subsite with JSOM under hostweb - Access is denied

I'm trying to create a SharePoint hosted app that creates a subsite under the hostweb with JSOM. The app has full control on the site collection. Why do i I getting this error message: My code: ...
0
votes
2answers
64 views

Get the ID of a new listItem and update same record

I'm trying to add a new record and get the new ID created then use the new ID to create a specific reference number using the following code. function saveDraftGHrecord() { ghList = ...
0
votes
0answers
18 views

Sharepoint 2013 App live on the MS store

Finished my SharePoint hosted app which is now live on the MS store, quite a few of the issue i had round the development of it were solved on this very site so I thought i would put out the link ...
7
votes
0answers
375 views

Client Web Part - XsltListViewWebPart

I'm trying to display a list view inside a client web part (for SharePoint hosted App). The below code will work inside an app page but does not render in a client web part. There are no errors ...
0
votes
1answer
30 views

Deploy app with default document

I have an app that deploys several lists, one of which is a document library. I would like deploy a default document (help file) with the document library list, is this possible with a SharePoint ...
4
votes
1answer
291 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 ...
0
votes
0answers
78 views

App upgrade process gets stuck

Im trying to update an existing Sharepoint-hosted App to a new version. I uploaded the new app-file to the app catalog and then clicked Update on my App information. The text "We're updating your ...
0
votes
2answers
463 views

List and list item permission and security in Sharepoint hosted App

Having created a SharePoint Hosted App which allows users to add records to a list i noticed that the list is accessible via the URL if the user knows the name of the list. If you access the list in ...
0
votes
1answer
62 views

Sharepoint Hosted Permission (SP 2013)

I am developing a test REST app currently, the app is sharepoint hosted and is being developed and deployed to the SP site without Sharepoint installed on my Machine. The app is meant to take in a ...
0
votes
2answers
446 views

403 Forbidden when sharepoint hosted app tries to access OData service

So I've been developing my sharepoint hosted app using my developer account. This has been working great so far. Now before deploying my app I've been doing some tests, one of them is running them as ...
0
votes
1answer
33 views

Sharepoint Hosted App, Javascript and Permissions

I've deployed a sharepoint hosted app with custom javascript. When I access my devsite with administrator I can use my app. When accessing with another user the js-files aren't loaded in my apppart. ...
2
votes
1answer
342 views

X-RequestDigest in Modal Dialog (without masterpage)

I'm trying to post a REST query to SP.Utilities.Utility.Sendmail so I can send a mail from my sharepoint hosted app. For this I have the following function: function sendEmail(from, to, body, ...