3

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.

2

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

  • 1
    It is better to use "Empty Element", because you do not have to delete the .txt file and have also a cleaner xml file. But thanks for your answer as I understand that they removed it. – Florian Leitgeb Mar 23 '17 at 12:40
  • you are right for that reason :) meanwhile, the empty element template and module template has the same behavio – Mohamed El-Qassas MVP Mar 23 '17 at 12:58
  • 1
    I do like the "Empty Element" approach much more than the "Module" one. I edit it and mark it as an answer. – Florian Leitgeb Mar 23 '17 at 13:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.