Contents
11) Navigate to your ‘AppCatalog’ site and upload the ‘app package’ created in step (10) by clicking the ‘Upload’ option. 12) Navigate to Office 365 SharePoint site, where you would prefer to deploy/add this app. Click on ‘Settings Icon’ (Highlighted below) and then click on ‘Site Contents.’ 13) Click on ‘add an app.’
Here’s a summary of provider-hosted add-ins: They include a web application, service, or database that is hosted externally from the SharePoint farm or SharePoint Online subscription. The custom business logic in the add-in has to run on either the external components or in JavaScript on custom SharePoint pages.
How to create a SharePoint add in in Visual Studio?
In Visual Studio, create an Add-in for SharePoint project from the Office SharePoint | Add-ins node (under either C# or Visual Basic) in the templates tree of the New Project Wizard. Select the Provider-hosted hosting option.
How to add add-ins to a SharePoint site?
The Add-ins in Testing list on the page confirms that the website was made with the SharePoint Developer Site template. If you see a regular team site instead, wait a few minutes and then restart your site.
How to deploy an ASP.NET MVC web application?
Give it a ‘Name’ and click on ‘Ok’ as shown in the screenshot below: 2) Specify the ‘URL’ where you want to deploy the app and select ‘Provider-hosted’ as shown in the screenshot below: 3) Select ‘ASP.NET MVC Web Application’ option and click on the ‘Next’ button. 4) Select ‘Azure Access Control Service’ authentication.
How to create Azure web app hosted add-in?
In our case it is ‘OfficeProviderHostedAdd-in’. Go to the app settings section and add the ‘ClientId’ and ‘ClientSecret’ entries which were created in the SharePoint Online App registration page. Click on Save to update the app settings entries. This will update the Configuration for the Azure Web App where the App Web Site will be hosted.
How to deploy a SharePoint App in Visual Studio?
1) In Visual Studio 2013 – Navigate to File > New > Project, select ‘App for SharePoint2013.’ Give it a ‘Name’ and click on ‘Ok’ as shown in the screenshot below: 2) Specify the ‘URL’ where you want to deploy the app and select ‘Provider-hosted’ as shown in the screenshot below: