

(To do this, right-click the Visual Studio icon on the Start menu, and select Run as administrator.)Ĭreate the provider-hosted SharePoint Add-in as explained in Get started creating provider-hosted SharePoint Add-ins, and name it CustomActionsApp. To create the SharePoint Add-in and remote web projects Set the add-in start page to the host web home page.

Find out which SharePoint components can be included in a SharePoint Add-in, which components are deployed to the host web, which components are deployed to the add-in web, and how the add-in web is deployed in an isolated domain.Ĭode example: Create a custom action in the host web document librariesįollowing are the steps to create a custom action in the host web document libraries:Ĭreate the SharePoint Add-in and remote web projects.Īdd an add-in webpage for the custom actions.Īdd a Menu Item custom action to the SharePoint Add-in project.Īdd a Ribbon custom action to the SharePoint Add-in project. Learn about the difference between host webs and add-in webs. Host webs, add-in webs, and SharePoint components in SharePoint Learn about the user experience (UX) options that you have when you are building SharePoint Add-ins. Learn about the new add-in model in SharePoint that enables you to create add-ins, which are small, easy-to-use solutions for end users. The following table lists useful articles that can help you understand the concepts and steps that are involved in a custom action scenario. Core concepts to help you understand custom actions

You need a development environment as explained in Get started creating provider-hosted SharePoint Add-ins. Prerequisites for using the examples in this article Two types of custom actions are available for add-ins: Ribbon and Menu Item. Custom actions can open a remote webpage and pass information through the query string. A custom action deploys to the host web when end users install your add-in. When you are creating a SharePoint Add-in, custom actions let you interact with the lists and the ribbon in the host web.
