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
3
votes
1 answer
getting XMLHttpRequest cannot load (URL) Response for preflight is invalid (redirect)
here am trying to get reccurring events from calendar list for sharepoint Online app and there am using code as like
hostWebUrl = decodeURIComponent(manageQueryStringParameter('SPHostUrl'));
function GetListData() {
var webUrl =…

Madhav
- 559
- 2
- 11
- 34
3
votes
1 answer
IE Error DOM7009: Unable to decode image at URL
I am working on SharePoint 2013 apps . In my app parts i have used few images.
All the images are showing up properly in Mozilla and chrome but few of the images are not showing up in IE, i can only see the broken image.
Suppose i have my image at…
user5846985
3
votes
1 answer
Using Sonar MSBuild Runner with /p:IsPackaging=True
I've a Visual Studio Team Services build definition containing a Visual Studio Build task surrounded by the Sonar Begin Analysis and End Analysis task. The Visual Studio Build packages a SharePoint provider hosted add-in using the…

Pascal Berger
- 4,262
- 2
- 30
- 54
3
votes
1 answer
SharePoint Online - Update User Profile Properties via CSOM App
I have a console application where I am updating SharePoint Online user profile properties via CSOM. When I do it via the following code below (using a username and password), it works just fine.
private static void UpdateUserProfileProperties()
{
…

M.Ob
- 1,785
- 14
- 27
3
votes
2 answers
Uncaught Error: The property or field has not been initialized
I am trying to run the following code in a simple sharepoint app, but I got this error:
Uncaught Error: The property or field has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly…

Luis Valencia
- 32,619
- 93
- 286
- 506
3
votes
1 answer
Automatic upload of Typescript file after change to SharePoint
When developing SharePoint hosted app in Visual Studio, I cannot find a way, how to tell Visual Studio in debug mode to upload typescript and their generated js files to SharePoint after changing their content.
Normally, if I change the code in…

folt
- 53
- 3
2
votes
1 answer
Sharepoint AudienceUriValidationFailedException while creating ClientContext with RER properties
I am using SharePoint Provider Hosted app. While RER triggers i am generating client context with help of Token helper function
using (ClientContext clientContext = TokenHelper.CreateRemoteEventReceiverClientContext(eventReceiverProperties))
{
…

Mohasinkhan Pathan
- 61
- 1
- 7
2
votes
0 answers
SharePoint hosted app custom list form upgrade
I created a SharePoint Hosted add-in with custom list form as directed in
https://blogs.msdn.microsoft.com/wilsonreddygajarla/2014/12/13/sharepoint-list-newform-customization-in-sharepoint-hosted-app/
All, works great until you want to upgrade the…

chandan
- 21
- 2
2
votes
2 answers
Custom Roles for authorization
I have a provider hosted sharepoint add-in which uses a database at back end. This database has some roles like Employer and Employee in DB marked with a number. For example 1 for Employer and 2 for Employee and corresponding to every row a…

Garima
- 401
- 5
- 29
2
votes
1 answer
How to retrieve Sharepoint Apps from SiteContents
Iam using Sharepoint.Client library(using context - ClientContext, load & then execute) to pull metadata from SP.Web. I was able to fetch some details except the one that i required the most: "APPS". How to pull apps that installed in SP ?
There's…

Vidhya Sagar Reddy
- 1,521
- 1
- 13
- 25
2
votes
2 answers
Sharepoint Online: Difference between SPAppWebUrl & SPHostUrl
Can someone explain what's the difference between the usage of SPAppWebUrl and SPHostUrl - from examples I guess that these URLs influence the context which is accessed.
Is this correct? And if yes - what are the differences in general (I already…

D. Müller
- 3,336
- 4
- 36
- 84
2
votes
1 answer
SharePoint Provider Hosted App Quits with Invalid JWT token
we have a Provder Hosted app in SharePoint Online running. This has been running almost for one year (or two) without any problems.
But today we got a problem that the Provider Hosted app cannot create a SharePoint Context. After a SAML check we…

Sascha
- 601
- 1
- 8
- 23
2
votes
2 answers
Can I debug a workflow on Office 365?
I have a question about Sharepoint Online debugging.
I've created a Sharepoint app with Visual 2015, destined to sharepoint-online and it's sharepoint hosted. Inside, I have a very simple workflow.
When I try to debug it, the following message…

Rahma
- 255
- 3
- 21
2
votes
1 answer
How to add custom css to a Sharepoint App (iframe)
I add the contact us form app from the store and I have a custom template in my site collection but the app see so bad, so I need to shande the colors of the app. How can I do that?
This is how it looks

Sebastián A
- 880
- 2
- 7
- 23
2
votes
0 answers
Open Modal Dialog Inside SharePoint Hosted App
I have a SharePoint hosted app, and I am trying to open the new item form of a SharePoint list on host web in a modal dialog using SP.UI.ModalDialog. The dialog opens fine, but when I click save or cancel I get the following error. I think this…

Seth Davis
- 53
- 5