How do I deploy a SharePoint add-in?

How do I deploy a SharePoint add-in?

Package the add-in and upload it to the catalog

  1. Open the Visual Studio solution, right-click the project node in Solution Explorer, and then select Publish.
  2. In the Publish pane, select Package the add-in.
  3. Open your add-in catalog site in a browser, and then select SharePoint Add-ins in the navigation bar.

What add-ins exist for SharePoint?

SharePoint-hosted SharePoint Add-ins

  • Custom pages.
  • Workflows.
  • Modules (sets of files)
  • List templates.
  • List and library instances.
  • Custom list forms and views.
  • Custom content types.
  • Web templates.

What is PHA in SharePoint?

SharePoint Hosted Apps are those in which the code is hosted in the SharePoint server. Provider Hosted Apps are those in which the code is hosted outside the SharePoint server. When to choose SHA or PHA. SHA: SharePoint Hosted App. PHA: Provider Hosted App.

How are provider-hosted add-ins work in SharePoint?

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.

Where to host a SharePoint add-in in azure?

You can host a provider-hosted SharePoint Add-in on an Azure web role instead of a web application (whether the web application is on-premises or an Azure website). An Azure web role is, essentially, a website that’s based on Internet Information Services (IIS) and hosted on Azure.

What are the different types of SharePoint add-ins?

For an overview of SharePoint Add-ins and the two different types, see SharePoint Add-ins. 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. They may also include SharePoint components.

How to add a web role to a SharePoint project?

If you already have a web role in an Azure cloud service that you want to use as a host for a provider-hosted SharePoint Add-in, open the Azure cloud project in Visual Studio, and then, in Solution Explorer, choose the web role project. On the menu bar, select Project > Add Add-in for SharePoint Project.