Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11508

How to add a custom button in top ribbons of ALL library types?

$
0
0

Hi there,

I need to insert our custom button in top ribbons of all library types.
When I use following code in Elements.xml I get the custom button in Document Libraries (templateID=101) which is good.

BUT - how to add this custom button in top ribbons of all library types (including other templateIDs)? Will I have to repeat all the code? There must be a more efficient way, I believe.

<CustomAction Id="RKFinance"
                RegistrationId="101"
                RegistrationType="List"
                Location="CommandUI.Ribbon"
                Title="RKMenu"><CommandUIExtension>

Thanks so much.


Viewing all articles
Browse latest Browse all 11508

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>