سؤال

As the title says, is the ribbon custom action template gone with VS 2017?

I have installed Office/Sharepoint development components and tried it with a farm solution as well with an add-in and couldnt find the ribbon custom action template when adding a new item to my project.

I have the professional edition installed.

هل كانت مفيدة؟

المحلول

In Vs 2013/2015/2017, There is no such template called a ribbon custom action, and to can create a ribbon custom action via VS 2017 you should add a Module or Empty Element as the following:

  • Create a new SharePoint Solution.
  • Then add New Item.
  • Add Module or Empty Element as shown below.

enter image description here

To continue creating a custom action as Module check Create a Custom Action for a specific list via Visual Studio in SharePoint 2013

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى sharepoint.stackexchange
scroll top