Questions containing this tag should include some basic information about the given SP installation: SP Online, SP Foundation, SP Server and the version year (Sharepoint Server 2016 for example). There also has to be an explanation about where it's hosted (sharepoint-hosted or provider-hosted).
Questions tagged [sharepoint-apps]
190 questions
14
votes
10 answers
SharePoint App Deployment error : 'Failed to install app for SharePoint'
When I tried to add a SharePoint mvc app I am getting following error:
Error occurred in deployment step 'Install app for SharePoint':
Failed to install app for SharePoint. Please see the output window for details.
Detailed stack…

Praveen Prasannan
- 7,093
- 10
- 50
- 70
6
votes
2 answers
Retrieving query string in sharepoint add-ins
I'm developing a Sharepoint 2013 Add-in, and I need to retrieve the query string of the original request.
Users are linked to our add-ins from emails and we need to provide some context.
The add-in is requested like…

Tommy Jakobsen
- 2,323
- 6
- 39
- 66
6
votes
5 answers
How to Unregister or Update Registered SharePoint app
I have an App to be used in my SharePoint tenant. From App developer I got the Client ID, Client Secret, App domain, return Url.
During my app registration through Appregnew.aspx, I have used wrong return url, and client secret. Now if I click on…

user2768967
- 367
- 1
- 4
- 18
6
votes
4 answers
Uncaught ReferenceError: Type is not defined in sp.runtime.js
I am trying to use the taxonomy Picker example from Office PnP.
I just want to bind one field to one managed metadata term.
The errors I got are here:
http://screencast.com/t/nOaTusUH4V
The code I have is:
…

Luis Valencia
- 32,619
- 93
- 286
- 506
6
votes
2 answers
How to prevent SharePoint 2013 app parts from cancelling Minimal Download Strategy (MDS)
I have found that page loads in SharePoint 2013 Online (have not tested On-prem) falls back from MDS to the full page load for any page which contains an app part.
I have found this to be true for both SharePoint hosted app parts and provider…

Eric Bowden
- 112
- 12
5
votes
1 answer
How to obtain refresh token for sharepoint app-only model?
We've a customer requirement to authenticate to sharepoint online using sharepoint app-only model.Obtained access token by posting a request to Microsoft Azure ACS,"…

prathyusha magam
- 149
- 11
5
votes
1 answer
How to append sharepoint required parameters for APPS, in asp.net mvc apps?
According to the documentation for sharepoint apps, we need to always append the SP Host web url, so that the app can get the context from the host web.
The Sharepoint Context provider and the token help class autoamtically detects this querystring…

Luis Valencia
- 32,619
- 93
- 286
- 506
5
votes
2 answers
SPAppToken (context token) is null
I have a Sharepoint 2013 on premise environment for which I am developing an provider hosted app using Visual Studio.
The Visual Studio project has an app project which contains a custom ribbon button that goes to the web project. The web project…

Marijn
- 345
- 5
- 13
4
votes
0 answers
'Install app for SharePoint': Archive file cannot be size 0. deploying to office365
I'm having an issue with deploying an app for Sharepoint (Sharepoint add-in) for my office 365 (Sharepoint) site collection. I can't deploy the app and the error says
"Error occurred in deployment step 'Install app for SharePoint': Archive file…

killerG
- 106
- 5
4
votes
3 answers
Change background color of table cells according to their header
I am dynamically constructing a calendar(html table) in javascript. I want to have the Saturday and Sunday columns with a gray background color.
When I'm adding the other cells to the calendar, I want to check for the cells column header, check…

Laureant
- 979
- 3
- 18
- 47
4
votes
1 answer
Installing Sharepoint App with CSOM
Does anyone know if it is possible to automatically install particular App on sharepoint site using CSOM? We have mechanism that creates new site on sharepoint, and what we need is to automate process of installing particular Sharepoint App on each…

Konrad Z.
- 1,592
- 4
- 20
- 34
4
votes
2 answers
SharePoint Hosted App - Creating cascaded drop down on hosted web lists
I have created a SharePoint Hosted App(Javascript Object Model) that creates lists on the host web.
I need to put some javascript into new and edit forms in order to create the cascaded drop down effect on 2 lookup fields.
Here is how I create the…

Marian Toader
- 61
- 4
4
votes
3 answers
Missing webparts in Sharepoint 2013 online
I have a problem, when i edit the page and click on, "insert webpart or app part". I cant see any webparts or app parts in the category list to the left. Its empty, only thing i see is the category, Apps.
What can it be?, I'm in the owner group…

Anders
- 185
- 2
- 10
4
votes
3 answers
Get list of installed apps using Client Object Model
I have been trying hard to find any example, resource which explains how to get a list of installed apps in SharePoint 2013 environment using Client Object Model. So far I have found nothing.
Could you please share some links if you happen to know…

Moon
- 33,439
- 20
- 81
- 132
3
votes
1 answer
Sharepoint 2013/2016 and Custom Web Api with custom database.
How do I authenticate to a Custom Web Api from a SharePoint 2013/2016 single page app? I've seen a couple examples of using session which i really don't want to use, I'm thinking maybe a custom security token service or would it be better to add the…

Fab
- 904
- 2
- 14
- 38