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
19 views

JSOM Office 365 upload Page Layouts to master page gallery

How to upload a page layout from Visual Studio to Master page gallery using a Sharepoint hosted app?
0
votes
2answers
29 views

The success callback of querySP.ClientContext.executeQueryAsync method

I have a SharePoint 2013 hosted app and use CSOM queries to create multiple list items. My question is related to the parameters of the callback method. After executing my query using ...
0
votes
1answer
20 views

Get image from SharePoint by URL

I try to get an Image from SharePoint by using JavaScript code. I have the complete URL of the image which is stored in a SharePoint Assets Library. My app is SharePoint hosted. This code does not ...
2
votes
1answer
24 views

Uninstall event at SharePoint Hosted App

I have a office365/SharePoint Online App (SharePoint Hosted App) that when installed into SharePoint Online, it will provision some static files (css/js) and custom actions into the SharePoint host ...
0
votes
0answers
16 views

SharePoint Foundation 2013 HTML file issue related to Articulate Storyline

I use Articulate Storyline to develop eLearning and I publish the project to SharePoint. A published Articulate Storyline project includes hundreds of files; traditionally, the key was to post a link ...
2
votes
0answers
20 views

ADFS error in SharePoint Hosted App on On-Premise SharePoint

I have developed a SharePoint Hosted App for a customer. For development I used SharePoint Online, the customer system is an on-premise SharePoint 2013. Now I deployed the .app-file on the customers ...
0
votes
1answer
21 views

Upload new image in asset library in SharePoint Online

I am developing a SharePoint Hosted app for SharePoint Online. Now I wondered if there is a way to upload a new image file to the central asset library. I found several code snippets for C#, but my ...
2
votes
1answer
54 views

SP.UI.ModalDialog undefined - Close SharePoint Modal dialog with javascript

I have created a modal dialog in SharePoint with the elements.xml. I use a SharePoint Hosted app. This is my CustomAction Definition: <CustomAction ...
1
vote
1answer
26 views

Disabled custom action tooltip

Some custom actions in SharePoint display an additional message with possible reason of the action being disabled. Is there a simple way of adding such a message only when the action is disabled (for ...
0
votes
1answer
24 views

Redirect to SharePoint Hosted app when user lands on Site collection

Is it possible to redirect user directly to SharePoint hosted app when he enters to the site collection? Currently user have to click on the app to navigate to SharePoint hosted app and I would like ...
0
votes
0answers
28 views

Error adding app to an internal SharePoint 2013 site

I have created an app using VS2013's convert to SharePoint feature. I have tried adding the app in two ways namely Provider hosted and SharePoint hosted, both of which return an error. I want the app ...
1
vote
1answer
46 views

How do I get the names of users when retrieving the list of tasks?

In a SharePoint Hosted App, with the following code, I can retrieve the list of tasks, every task containing, among others, the identifiers AssignedToId (an array of integers): ...
0
votes
0answers
32 views
+100

Change AllowedRemoteHostUrl after the app is installed

I use a SharePoint-hosted app to allow a 3rd party html site make REST calls into my SharePoint library using requestExecutor.js. That works fine in my test environment, but deployment to other ...
1
vote
1answer
14 views

Getting “There is no trusted URLs configured for the app deployment” when making a REST call into an app from an html page in a different server

Here's the setup: SharePoint on premises: http://sharepoint-site.com A 3rd party web site (just an html page, no sharepoint: http://web-site.com/test.html) needs to make a call into sharepoint to ...
1
vote
2answers
38 views

How to effectively demonstrate sharepoint skills?

If I was to signup with office 365 and their hosted sharepoint server, would I be able to create a sample project that could demonstrate to a potential employer that I have the skills? i.e. I ...
0
votes
1answer
18 views

Is it possible to update a VS deployed app without changing app's URL?

I'm building a SharePoint hosted app which for now I'm deploying from VS. Every time I redeploy the changes, it completely reinstalls the app also changing its URL (the unique identifier part of it) ...
0
votes
0answers
36 views

Cannot query SP.UserProfiles.PeopleManager from the App Web via REST

I'm testing REST results in the browser with mixed results. The following URL returns the expected result: ...
0
votes
1answer
27 views

Executing JavaScript when item is being saved

I have my custom EditForm created in my SharePoint-hosted app and I need to save some values to the item property bag when the user clicks "Save" button. Is there any way to modify the default saving ...
0
votes
1answer
40 views

How to Upload the files into the SiteAssets Library by SharePoint Hosted App Model

I want to upload the Jquery and supported files in to the Site Asset library by SharePoint Hosted Apps, I have create a SharePoint Hosted App, added the files in the Modules <Module ...
1
vote
3answers
110 views

How to get a old version of list item?

I need to get all field values of an specific version. It is possible by sharepoint hosted app (javascript)? I need to create a custom version history page of itens. If there is a caml query ...
0
votes
1answer
52 views

2013 Sharepoint-Hosted App Masterpage Provisioning Problem

Here is the JavaScript I'm currently using to set my Masterpage as the default Masterpage within my site. I'm running into a problem where I receive the onQuerySucceeded message after deploying the ...
5
votes
1answer
193 views

Add item to SharePoint Online Library - strange Access Denied exception

I have created a very simple SharePoint Online App. It has a manifest and a website. There is a simple script on a Default aspx. It is trying to deploy the file to a Library and getting "Access ...
2
votes
1answer
116 views

Office 365: Publish and deploy .app through PowerShell

Can we deploy a SharePoint hosted app in Office 365 (SharePoint online) using PowerShell? Like in SharePoint 2013 apps, we will import the .app file and then install it. Can this be done in Office ...
1
vote
4answers
222 views

How to get appWebUrl and hostUrl when getQueryStringParameter fails?

I have a sharepoint app with multiple .aspx pages. On different pages I push and pull from sharepoint lists and I would like to send emails. These require me knowing hostUrl and appWebUrl. I would ...
0
votes
1answer
23 views

Adding client part giving - Working on it

i added client web part to host site, it's the out of the box sharepoint hosted app that comes by default with visual studio 2013. when adding the app part to my web page, it gives me (working on ...
0
votes
1answer
24 views

Localized list views in SharePoint-hosted Apps

I was trying to localize my SharePoint app and I encountered a bit of a problem. I created a feature resx file, added all the names to it and replaced my static names with ...
0
votes
1answer
33 views

Displaying quicklaunch in SharePoint-Hosted apps

I wanted to create a SharePoint-Hosted app with custom navigation bar on the left side (like Quicklaunch). As far as I read, one way to do it effectively is to create a custom masterpage with the ...
0
votes
0answers
11 views

X-Frame-Options Issue with different farms

I am developing an on premise sharepoint hosted app which among other things creates a custom ribbon action that opens a dialog page where a javascript code is executed. In my test environment and ...
0
votes
1answer
19 views

SharePoint hosted app, any user should be able to install

I've created a SharePoint-hosted app, and I want not only Site collection admins to be able to install the app, but also members etc (not visitors). Is this even possible?
0
votes
1answer
29 views

need to update the item in the list

I have a list called revision. It has a columns called wbscode and revisionnumber. Wbscode contains code of the project(eg.pcode1) and revisionnumber is to store revision number done for the pcode. ...
0
votes
0answers
64 views

Get Item from content type using Microsoft.SharePoint.Client.Search.Query.KeywordQuery(context) and display data in app part

How can I get a list item using Microsoft.SharePoint.Client.Search.Query.KeywordQuery(context) instead of a list query. I want to use the content type and not depend on the list to get the items.
1
vote
0answers
40 views

ItemAdding event firing, but nothing is happening. SharePoint Hosted App

I'm trying to learn remote event receivers and I'm having issue getting any results from the event. The event is an ItemAdding event on an announcement list. Public Function ProcessEvent(ByVal ...
0
votes
2answers
36 views

How to add ads in SharePoint hosted app?

How can we add ads (eg Google adsense) to SharePoint hosted app ?
1
vote
0answers
132 views

Problems making REST POST requests to SP-Hosted App with Postman

I am facing problems when making REST calls of type POST to my Sharepoint Hosted app with Postman in Chrome. GET type calls work fine. For example, I want to make the following call on my app to get ...
3
votes
1answer
58 views

Get all users in Office 365 and their permissions in Sharepoint hosted app

How to get all users of office 365 and their permissions in SharePoint hosted app and is it even possible ? I want to get everyone's permissions and display content based on permissions of current ...
2
votes
1answer
149 views

Any way to Install an (inline Host Page) Sandbox Solution Web Part via an SPO Hosted App?

Our understanding is that: SPO Hosted Apps only support client side code (no server side code) All webparts produced by SPO Hosted o365 apps always install as iframes under the app host domain It ...
0
votes
2answers
39 views

Sharepoint hosted app - create a content type in host web

From a SharePoint hosted app, I want to add a list and a content type to host web - not app web. Please tell me how can I do so, I looked at several resources - none say anything about content type?
0
votes
3answers
84 views

SharePoint Hosted App show profile picture of the logged in user

I have created SharePoint Hosted App. I am loading current user profile data from user profile service. When loading the image using PictureURL property image loading fail. Tried directly using the ...
1
vote
0answers
30 views

Handle individual permissions for users in SharePoint hosted app

How can developer handle individual's permissions on SharePoint hosted app? Let's says we have a document library and each user can only see there own documents. Not other users documents.
0
votes
0answers
19 views

SharePoint App Model and auto generated app Ids

Here is my problem: I have a SharePoint Hosted app. My environment consists of of the following App settings: App prefix: apps App Domain suffix: mydomain-apps.com I have two Web Applications so ...
1
vote
1answer
25 views

SharePoint hosted App getting Timed out

I've created a basic SharePoint hosted App in my machine and published it successfully.It worked all fine but, since some time the App is getting timed out and shows "Page Can't be Displayed." Your ...
0
votes
2answers
66 views

fetch of all items from a list

I have an Announcement list in SharePoint site,I need to show all announcement in homepage,I am following msdn code sample to retrieve items from the list,But only last item will be display. function ...
1
vote
0answers
29 views

How can I customize the list item and still have the ribbon

I am working on a Sharepoint hosted app and the whole application is created with the concept of SPA. I am using jquery, bootstrap, knockout, etc. to display the list item data. Is there any way to ...
0
votes
0answers
17 views

adding SharePoint-hosted app programmatically

I would like to automate adding sharepoint-hosted app to the newly created site. Is it possible to add SharePoint-hosted app to a sub site programmatically?
0
votes
0answers
50 views

SharePoint-hosted app access a list while the user has no access permissions on the list

I have created a simple SharPoint-hosted app. I have modified the manifest file and added Full Control permission to List scope. I created a list in one of my SharePoint sites with unique permissions ...
0
votes
1answer
30 views

Is host web always a site collection?

For a SharePoint hosted application, is the host web always referred to as a site collection, and it cannot be a web only ? Let's assume I install a SharePoint hosted application at this address - ...
0
votes
0answers
10 views

How come shared instances of apps from the app catalog only show the full page version of the app

If I have an app that contains a full page Default.aspx and an App Part and share the app (Deployment UI) to a site collection from the app catalog how come only the full page of the app is available ...
3
votes
1answer
61 views

How to upgrade SharePoint app where the SharePoint app is installed on 20+ sites?

I understand stand the App upgrade process for a SharePoint hosted app and when I update my App Catalog for the web application I then can upgrade the app successfully manually for a site. But my ...
0
votes
1answer
34 views

app-only policy in SharePoint Hosted app

Is it possible to use app-only policy in a SharePoint-Hosted App? All examples on Internet are using Provider-Hosted App which uses Managed code. I would like implement it in a SharePoint-hosted app ...
0
votes
0answers
14 views

Show custom list from host web

I am developing sharepoint hosted app.I have custom list on host web.Is is possible to show that custom lists default view into app's page. I want to use OOTB functionality like add ,edit and delete ...