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
0answers
9 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
8 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
41 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
9 views

Consume WCF REST service in SharePoint Hosted App [duplicate]

Consume WCF REST service in sharepoint SharePoint Hosted App
0
votes
0answers
19 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
40 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
0answers
188 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
49 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
56 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
113 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
20 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
69 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
19 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
136 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
79 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
77 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
162 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
30 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
63 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
54 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
100 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
49 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
241 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
117 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
166 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
47 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
17 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 ...
5
votes
0answers
206 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
25 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
252 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
60 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
1answer
280 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
59 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
265 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
32 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
249 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, ...
0
votes
1answer
85 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 + ...
0
votes
0answers
112 views

Sharepoint-hosted app - Missing workflow history fields

When running a workflow for a SharePoint-hosted app, the workflow history items are written without any data in the List ID or Primary Item ID columns. I'm trying to link the workflow history list ...
4
votes
2answers
2k views

Get a users Name from their ID

As part of my Sharepoint hosted App i am using a list which contains a Person or Group. I am getting the ID of the person by using the following. var ApproverID = ...
1
vote
3answers
371 views

There is no trusted URLs configured for the app deployment on Client side People Picker

I've built and been using a Sharepoint hosted app which uses a Client side people picker which all worked correctly until today. No when using them I get the following error. There is no trusted ...
0
votes
0answers
17 views

Replicate the User availability Status using client code code

Having completed another Sharepoint hosted 2013 app i'm looking at ways to improve it and I've been looking for some example code around the User availability Status which you see in OTB lists ...
2
votes
0answers
57 views

User-hidden credentials for SharePoint-hosted / Auto-hosted App

I am experienced with developing SharePoint 2007 and 2010 solutions, and am working to get into SharePoint 2013 development. The requirement from our customer is that the App can only be deployed as ...
0
votes
1answer
229 views

Error in SharePoint hosted app: Add permission level to the list programmatically

I am trying to add permission to the list which I have created in my app. I am trying to give current user some permission to add update delete items from my list. I have used one article from MSDN ...
0
votes
1answer
60 views

Users with read rights are not able to insert data in my SharePoint hosted app's List

I have SharePoint hosted app. In that I have created an List and I am managing data of that list using a form which I have created in my app page. When I am inserting data with the user who has full ...
0
votes
1answer
43 views

Updating an Sharepoint 2013 app (sharepoint hosted)

I have developed an app and I'm trying to get my head round what happens in the update process. My app contains several lists some of which the user can update. If they then update their app with my ...
0
votes
0answers
37 views

Workflow creates another task on item update rather than update task

I have developed an SP2013 app which uses a workflow to assign task based on my main list. The task creation is working when i add the item. When I update that item it would seem another task is ...
1
vote
1answer
2k views

Get Related Item ID from a workflow task list

using JSOM i am displaying a list of a workflow task...in order to allow my users to approve the task i need to get the ID of the related item. I'm guessing this is going to be in the Related Item ...
2
votes
2answers
239 views

Apply theme to subsite from SharePoint hosted app + javascript

I have to make a SharePoint-hosted-app for creating subsites and applying a theme on created subsites programmatically. my app is installed on root site (site collection) and I want to change ...
0
votes
2answers
2k 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)", ...
0
votes
0answers
76 views

Save people picker info to list (client side)

I'm building a office 365 app so its all client side and I've implemented the people picker DIV method as discussed here, my people picker is part of a form which submits to a list but I'm not sure ...