I have created a custom ribbon action for library. But, this custom action shown in all library exists in my SharePoint. I want custom action only for specific library.

Please help me to display custom action only for specific library/list.

Thanks in Advance

1 Answer 1


You can create Custom Action by using SharePoint Designer.

Open Lists/libraries with SharePoint Designer->Click Custom Action->View Ribbon->Create Custom Action.

enter image description here

Then the extra form will show up in the Ribbon.

Refer to the following links:



  • Thanks for your response.but, I want to add custom action using Element.xml file (Module) in Sharepoint project. Oct 16, 2019 at 3:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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