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.

Filter by
Sorted by
Tagged with
1
vote
1answer
278 views

Where SharePoint installed app located in server?

I need to view and edit the SharePoint installed app files which is installed from SharePoint store .please suggest the app files located path in server.
0
votes
0answers
49 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
156 views

Why is my form validation fired initial in my mvc app part?

I have created an SharePoint MVC provider hosted App Part. In my app part I have a form. This form has 2 actions. One is the httpget action and the other is the httppost action. It looks like the ...
0
votes
1answer
32 views

Website for provider-hosted app

Environment: SharePoint Web Applications: Configured appcatalog and app url. No issues adding SharePoint-hosted apps or apps from the store. They all go to http://prefix-587436.CustomName-apps.ml I ...
1
vote
0answers
143 views

Update value in custom list that exists on SPHost for the SharePoint Provider hosted App

I have a Provider Hosted App from where I need to update a list item in the SPHost i.e the site where I have added this App. I have written my code in the JavaScript file but when I try executing it, ...
0
votes
1answer
189 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
130 views

Some questions about SharePoint 2013 provider hosted app

I started to study how we can reproduce our project in a SharePoint 2013 app. I've made some test and I saw that the provider hosted app generates a normal web application that will be hosted outside ...
2
votes
1answer
435 views

SharePoint provider hosted App Remote Event Receiver Not Triggring For List item adding event in O365

I am creating a SharePoint provider-hosted App with event receivers to simply update an item in a SharePoint list List1 when adding new item in the list. My App installation event is firing, but no ...
4
votes
2answers
255 views

Deploy Provider Hosted App

I have tried deploy hosted app but always appear error message like "Error 1 Error occurred in deployment step 'Install app for SharePoint': The provided App differs from another App with the ...
0
votes
1answer
470 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, ...
10
votes
2answers
297 views

Searching for pages in SharePoint online 2013

Pages are not getting filtered based on the search criteria in SharePoint Search Online 2013, Provider Hosted App. Reference for HandleBars It shows all the results. Below is the search bar and ...
2
votes
0answers
37 views

Creating Charts in 0365

I am developing a Share-point Application in O365. Will it be possible to use web-part in online premise or only app part can only be used. Following is the code I have used. I am getting the Access ...
0
votes
1answer
495 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 ...
2
votes
0answers
61 views

Attach InfoPath to AppWeb Library in SharePoint Online

Error while adding InfoPath form to form Library created using SharePoint Hosted App which will be deployed to AppWeb. This form template is browser-compatible, but it cannot be browser-enabled on ...
4
votes
1answer
1k views

How to reference JavaScript file in custom ribbon action in SharePoint Online App?

I am trying to call JavaScript function into my Custom Ribbon command. I was able to create my Custom Ribbon Action using this answer. This perfectly worked for me in creation of Custom Ribbon Action ...
4
votes
2answers
66 views

SharePoint hosted app within the Host Web

I have created a nice little SharePoint hosted app. When I launch the app, it brings me to the app domain and a dedicated page (default.aspx). My question is, how do I embed this App within my Host ...
1
vote
0answers
28 views

Deleting Test-licenses from Office365

I have written a method that installs a test-license to my O365-SharePoint. It uses the following method: Microsoft.SharePoint.Client.Utilities.Utility.ImportAppLicense() This works fine, but now I ...
5
votes
3answers
486 views

How do I give permission to app using CSOM?

I have a workflow in my subsite that is available when I activate a feature. The workflow has app step and also the workflow running on my list at subsite updates a list on my root site. To do so I ...
2
votes
1answer
2k views

Remotely debug Provider Hosted App from Visual Studio 2015

I have created a SharePoint Provider hosted App on Azure. I need to debug it now. I have enabled remote debugging from the Azure Portal. But when I try to debug it from Visual Studio, I get the ...
1
vote
1answer
855 views

CSOM send email with attachment

I need to send list item attachment via email whenever someone add an item to list. I am unable to send email with attachment. using SendGrid of azure as CSOM send email utility does not support ...
1
vote
2answers
3k views

Detailed version history for a specific version label

How to perform 'View' operation for fetching all metadata values of the specific version using SharePoint client object model, for instance here version 7.1 I am working for Provider hosted app [...
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
1answer
115 views

SharePoint Logic Apps

Can any one explain me that what is SharePoint logic apps and how can we use it?. I googled this but all I found is azure logic apps , which have many connector like yammer connector, SharePoint ...
1
vote
1answer
249 views

PRO / CONS of using app model vs web services

I'm trying to tally up what are the PROs and CONs of using a provider hosted app model vs implementing the same application by speaking with SHP via the webservices like Lists.asmx and Copy.asmx. Are ...
4
votes
1answer
2k views

What permissions are needed to Create Groups and Add users to Groups?

I am currently developing a SharePoint Provider-hosted-Add-In which should be run on O365. I added FullControl to the SiteCollection and Web and everything worked fine. FullControl is not allowed, ...
0
votes
0answers
675 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
897 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 ...
1
vote
1answer
598 views

SharePoint appredirect.aspx redirects with POST

I have a provider-hosted app built with MVC deployed in SharePoint Online. I have a controller, Tasks, and an action, Details. If I navigate to the details page for a particular task (/Tasks/Details?...
0
votes
1answer
237 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
73 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
546 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
82 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&...
2
votes
0answers
659 views

Get SharePoint group permissions level name based on group name Using SharePoint Rest API

I am trying to get SharePoint User group permissions (Ex: Read, Contribute) based on the group name using SharePoint Rest API. My goal is to get the permission level of the group and disable features ...
0
votes
1answer
290 views

SharePoint provider-hosted app filter document library CSOM

I have the following code that gets files from a document library. Works great for getting all the files. Now, however, I want to filter the files using the "title" param before passing it back to my ...
-1
votes
1answer
116 views

Get folders and files from SharePoint List

I am working on an Provider hosted app, scenario is to get all folders and files from SharePoint library and display on UI(more like a view). Need some tips to do it. I mean how to create a UI similar ...
0
votes
1answer
477 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-...
3
votes
3answers
2k views

Why does my SharePoint Add-in's Id change every time I build and debug it from Visual Studio?

In Visual Studio 2015 I have created a new solution based on the "SharePoint Add-in" template. As I have chosen to make it a provider-hosted add-in I have two projects created: sharepoint-addin and ...
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 ...
3
votes
2answers
2k views

Attaching Remote Event Receiver to host web list without using azure ACS connection string in Provider Hosted App SharePoint Online

I am trying to attach an Remote Event receiver in Provider hosted app for SharePoint online.I don't want to use azure account ACS connection string.Somehow i was able to find the solution and i ...
1
vote
1answer
40 views

Making sure nobody (but the add-in) can access a list

I create Lists inside the app-web of a provider-hosted-app(-addin) using CSOM: All access to that lists should only be done by the addin itself and not by the user. So I want to make sure nobody can ...
1
vote
0answers
362 views

Sharepoint app using client secret without Azure ACS

I'm having trouble wrapping my head around my current situation. My client is giving me as a configuration a Client ID and a Client Secret to configure a sharepoint add-in that is installed on premise....
1
vote
1answer
263 views

Start 2010 workflow using App Only client context in 2013 app

Have a provider hosted app that connects to my SPO 2013/O365 instance via App Only authentication. When the user submits through the app it creates a list item. I have a 2010 workflow set to kick ...
6
votes
0answers
333 views

How to set HTML field security using CSOM

Is there a way to set the HTML field security using CSOM? I already found a way to use PowerShell Scripts but i wondering if there is also a way to use CSOM. PowerShell: $web.ScriptSafeDomains.Add("...
2
votes
2answers
223 views

SharePoint's controls or web parts in a full-trust provider hosted app (SharePoint 2013)

Ladies and gents I've been looking for some time but haven't found any definitive answer. Is it possible to use SharePoint UI (either controls or web parts) in a provider hosted application [MVC 5, ...
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 ...
3
votes
1answer
2k views

Why am i unable to debug an Provider Hosted SharePoint app?

I have a method which checks valid session which gets triggered in page load,I have placed break points in it for debugging purpose.When I run my provider hosted sharepoint app it does not hit the ...
0
votes
1answer
342 views

How to Access Provider-Hosted App programmaticly

I have a (working) provider hosted app that mainly acts as a REST-Service (MVC5). I want to unit test my Rest-Controllers but can't find out how to give the right credentials. I already got the URL ...
3
votes
0answers
893 views

{StandardTokens} token in CommandAction Url does not get replaced

I have a provider hosted add-in running on a SharePoint Online development site that has several lists as part of the solution. My goal is on when somebody clicks a Ribbon CustomAction associated ...
3
votes
0answers
129 views

Is there a unique ID for add-in instance?

I'm developing a SharePoint add-in with provider hosted app. One requirement is to uniquely identify add-in instances. The user can install add-in multiple times. Provider hosted app stores mapping ...
2
votes
0answers
610 views

Rest API calls from provider hosted apps

Here is the scenario. We have a product built on linux systems and the data is available through REST API. The web application which is built on JAVA is also hosted on the same environment. Few of ...