Questions tagged [provider-hosted-app]

A SharePoint 2013 App that is not hosted in SharePoint, but rather by the developer of the app. This hosting is not necessarily done in SharePoint.

203 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
0answers
51 views

Unable to write the custom CSS for sharepoint 2013 app

I have added the SharePoint app from SharePoint 2013 App store.Also added that app in the custom page. I need to write the external CSS for that APP part.I have added the custom style sheet in the ...
0
votes
1answer
193 views

Sharepoint-hosted app (SharePoint-hosted add-in) and Create a custom list

There was a kind of question or confusion I always had with the definition of what is an app (now called add-in). Also this confusion happens to me because of the name changes. You can have two types ...
0
votes
1answer
553 views

ClientContext is null for HOST web in AppInstalled

I'm trying to create remote event receiver that is attached to library in host web. I used azure service bus for debugging and almost everything worked out nicely. Removing of receiver did not work, ...
0
votes
1answer
611 views

Develop SharePoint Provider Hosted app from remote visual studio Pc

I'm creating a development SharePoint 2013 farm for external developers to develop Provider Hosted Addins. Therefore, developers pc will not be joining our domain. Is it ok for them to use Visual ...
0
votes
1answer
94 views

does anyone have any info about the ID in a SharePoint 2013 add-in web URL?

My security engineer asked what the lifespan of the ID in the add-in web URL was. Can anyone give me any info on this ID, is it randomly generated, used always for the add-in web, changes every time ...
0
votes
0answers
742 views

Provider Host App Error The remote server returned an error: (401) Unauthorized in SharePoint Site

When I run the app from Visual Studio, I get the page where I opt to trust the app. However, I get the 401 Unauthorized error when I try to access the app from the site. Stack trace: [WebException: ...
0
votes
3answers
1k views

how to add a Content Editor WebPart on a page using CSOM by Provider Hosted App

I am creating a Provider Hosted App. USing the App, i would create a subsite.I want to add a Content Editor Webpart on the homepage of a newly created subsite using CSOM. Can anyone suggest how to do ...
0
votes
1answer
261 views

O365 App / Custom Ribbon Button Always Disabled

I'm trying to create a custom button on the Ribbon which appears in the Ribbon.EditingTools.CPInsert section when the user is editing content in a wiki page or content area. I'm using the OfficeDev ...
0
votes
1answer
88 views

Path of Log file

I have a provider hosted app where the exception logs are logged to a text file. The path of the text file is calculated as below : string directoryName = System.Configuration.ConfigurationManager....
0
votes
0answers
802 views

Unable to register app in /_layouts/15/AppRegNew.aspx

I receive an error when after clicking the Create button in sitename /_layouts/15/AppRegNew.aspx. Browsing the log files I see Error when create app 9071df94-8af7-4a53-8bac-44abad787b67, ...
0
votes
1answer
101 views

Forcing SharePoint login when not authenticated

I have a provider hosted Add-In which looks like that: https://myhost.com/mycontroller/myaction?SPHostUrl=https://myhost.sharepoint.com/sites/mysite&SPLanguage=en-US&SPClientTag=0&...
0
votes
1answer
497 views

Render MVC views inside Sharepoint Provider hosted add-in

I have created Provider hosted add-in with MVC, in that I have some Controllers, Models and Views. I just want to render the Views inside the Sharepoint add-in, so that when I add that particular add-...
0
votes
0answers
1k views

Display Template and Item Template not showing in Content Search Web Part

I am facing a weird issue. When I'm uploading custom Display Template JS file and custom Item Template JS file using an Add-In, for some reason it is not showing in the webpart properties. But when I ...
0
votes
0answers
72 views

SharePoint App - Pressing Refresh opens resend Information dialog

I'm doing a sharepoint provider hoster app. When I'm pressing refreh (F5 or in the browser) after the webapplication has loaded I'm getting a dialog for resending information. ("To display the webpage ...
0
votes
0answers
266 views

Sharepoint Provider Hosted App with Angular JS for document retrieval

I need to create SharePoint Provider Hosted App with Angular JS & MVC for SharePoint Online. That app should perform CRUD Operations on Document Library. When I searched for this, all I got is ...
0
votes
1answer
357 views

Access Denied when executing a CAML query

I am running a SharePoint Online provider-hosted app, and via CSOM, I am loading the contents of a list with the following code: var items = List.GetItems(CamlQuery.CreateAllItemsQuery()); ...
0
votes
1answer
701 views

Could not establish trust relationship for the SSL/TLS secure channel. SP Provider hosted

im trying to configure my sharepoint server to rung sharepoint provider hosted apps. i followed this article on msdn to cinfigure the machine and then configured IIS to run site run over https. ...
0
votes
1answer
464 views

Develop a provider hosted app from host machine visual studio

I've windows server 2012 in my oracle virtual box VM with sharepoint 2013 and Visual Studio 2013 installed. I've setup my SharePoint server to develop apps, I created a provider hosted app from visual ...
0
votes
1answer
478 views

Sharepoint Online Provider Hosted App on Azure, HTTP 500 during the provisioning

I have an MVC site hosted on Azure and a SharePoint App on Office 365. This Office App open the MVC Site that provide a button to make the provisioning. When I start the provisioning the Mvc ...
0
votes
1answer
391 views

Clientcontext for FBA in provider hosted app

I am using Forms Based authentication in provider hosted app. Once FBA user is logged in SharePoint site, I need to get the clientcontext in my app web (which is an MVC application) to check if the ...
0
votes
1answer
348 views

user profile creation no CSOM/REST

I have a SharePoint application with a provider hosted app. User's can access Provider hosted app URL directly provided they have access to App and their user profile is created already. I have a ...
0
votes
1answer
482 views

SharePoint Hosted App wrong URL

Right now i am working on SharePoint Hosted App. I have create one SharePoint Hosted App in my on-premise environment. But my App URL is like https://localhost:44305/Pages/Default.aspx?SPHostUrl=...
0
votes
0answers
442 views

How to add Site columns, Content Type and List Definition In Provider Hosted App in SharePoint

I've created my Provider Hosted App in SharePoint App. Now I want to add site columns, Content types and List Definition in Host Web. When I create site columns and add in feature then run app it ...
0
votes
0answers
93 views

create a total SharePoint application through Provider hosted app

I have a question if we are able to create a total SharePoint application (e.g. Help desk.. raising help desk tickets) through Provider hosted app. Till now what we have done is created different ...
0
votes
2answers
760 views

High trust provider hosted app vs SharePoint hosted app

We know that we can create both SharePoint hosted app and high trust provider hosted app in on-prem i.e. non-cloud environment. But in which scenario we should for high trust provider hosted app and ...
0
votes
1answer
763 views

Custom Ribbon Action always enabled? Logic to disable not working

I recently created a new Sharepoint App to add a custom ribbon action to my ribbon bar. I want to make sure the button is only enabled when at least one selection to a document selection is made. ...
0
votes
1answer
512 views

CSOM : sharepoint is not logging the message for sharepoint app

I am using Utility.LogCustomRemoteAppError() to log the messages of provider hosted app. But the above method is not working when it is used inside Remote event receiver(item updated etc..). Also ...
0
votes
1answer
890 views

Get document from Document Library using Javascript

I am trying to get a document from document library.I am getting the file but I can't get its binary value. $.ajax({ url: fileUrl, binaryStringResponseBody: true, headers: { "...
0
votes
1answer
529 views

Title of modal dialog in promoted links list

I have a provider-hosted SharePoint app that I point to via a link in a promoted links list. Launch Behavior is set to "Dialog" and my app opens fine in the dialog window. My problem is that the title ...
0
votes
0answers
868 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 ...
0
votes
1answer
92 views

Deploy Provider Hosted App out of Azure

I need to change hosting of provider hosted app from azure to my own server, Any body have any idea how to do it?
0
votes
1answer
916 views

How to get ProductID for provider hosted app?

There is ProductID mentioned in the AppManifest.xml as a GUID. How can I get that ID using Client object model?
0
votes
0answers
43 views

Distinguishing between SharePoint Instances

I need to distinguish between unique SharePoint Instances in my provider-hosted App. I used to determine them on the Host-Url like that: initializeSharePoint(Request["SPHostUrl"]); // Interactions ...
0
votes
1answer
74 views

can we be our own “provider” for SharePoint provider-hosted apps?

We have made several provider-hosted apps where the app was hosted in an Azure website. Can we just as easily setup a WinSrv2012/IIS box on-prem to be the "RemoteWeb"? Are there any special ...
0
votes
1answer
768 views

How to write Join 4 lists using CAML Query (CSOM)

I have four lists in my site. I need to get data from all these lists in CSOM (Provider hosted app). All these lists are connected linearly (one to one). List 1 -> List 2 -> List 3 -> List 4. for eg ...
0
votes
1answer
119 views

Provider hosted app for Sharepoint 2013 connection to azure website error

I am creating a basic provider hosted ShatePoint 2013 app where i am just trying to print hello world on the app. Now i tried following steps in the below site. http://blogs.msdn.com/b/steve_fox/...
0
votes
1answer
480 views

How to measure performance of “App web” for provider hosted app?

For a provider hosted app in office 365 created with azure service is running slow. Now, how to measure performance of the App web (no the host web)? Which tool will be used? Please write steps for ...
0
votes
2answers
189 views

Retrieve choice menu item from list

I have a list 'choiceOpt' which contains a choice field 'choiceOptions' having Yes ad No as options. I want to retrieve this Yes and No programmatically (javascript) . Kindly help.
0
votes
2answers
615 views

Publish Provider-Hosted App Problem

I have a default provider-hosted application that prints the site title. When I publish it to my Windows Azure it works great, but when I publish it to my company server (Windows Server 2008 R2, IIS ...
0
votes
2answers
460 views

Help understanding the concept of provider hosted apps

I'm finally done with my long running SP2010 project and am only just now getting into SP2013. And I'm having some trouble understanding the concept of provider hosted apps. I've read the MSDN ...
0
votes
1answer
703 views

App Installed Event Receiver -> Access Denied

I am using AppInstalled event receiver to create a list in host web and then breaking its role inheritance. The list is created successfully but I am getting "Access Denied" while breaking role ...
0
votes
1answer
293 views

Provider hosted app: App part working on it infinite loop

I am trying to create my first application SharePoint provider hosted that is deployed in Microsoft Azure web site. I have successfully created a new application MVC that I can deploy to my developper ...
0
votes
1answer
91 views

How can I narrow down App audience?

I have developed an provider hosted app and I want to run it on an internal on-premise Farm. When I have published my App into the app catalog, is it possible to just install it on one Site? So not ...
0
votes
2answers
1k views

SharePoint Provider-hosted app: Can't call REST or use JSOM

I have an AngularJS web app that is registered as a Provider-hosted app on an on-premises SharePoint 2013 site (not Office 365 or SharePoint Online). The Provider-hosted app is hosted on a separate ...
0
votes
0answers
911 views

SharePoint Provider Hosted App: mixed content issue

We have a provider hosted app that needs the SharePoint javascript and CSS files, so in our MVC view we added the following code: <script src="@Request.QueryString["SPHostUrl"]/_layouts/15/SP....
0
votes
0answers
633 views

Can't create list workflows with SharePoint Designer

I have created a SharePoint Provider Hosted App. This app uses SharePoint lists for storing the data. Now I want to create a simple list workflow depending on a state in the SharePoint list. But ...
0
votes
1answer
213 views

Authenticate SharePoint user to cloud hosted application (Claims based authentication)

We are new to SharePoint application development (for 2013) and I had some questions I wanted some clarification around: Question 1: Our app is a provider hosted app which has it's own ...
0
votes
0answers
465 views

401 Unauthorized when calling web service in provider hosted app

I have build a SharePoint provider hosted app (high trust) that has a WCF service that also calls a custom webservice that is hosted in SharePoint. The app WCF service is called from a SharePoint ...
0
votes
1answer
2k views

Apply SharePoint look and feel to aspx pages in Provider hosted app

I am working on SharePoint 2013 on-premise I have created a App for SharePoint 2013 Solution using Visual Studio 2012 with provider-hosted option. Two projects have been added : A SharePoint app ...
0
votes
1answer
79 views

Lists in a provider hosted app

I created a provider hosted web app and added a list to it. I can see the list is in the app web using spmanager however i couldnt get a simple link on the apps default.aspx page to work correctly. ...