Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I want to create my own Ribbon Tab that will appear on all kinds of pages. What should I do to register this CustomAction? There is not a location setting for this.

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

Create a Delegate Control that is attached to the AdditionalPageHead delegate. That custom control can then make sure that your custom Ribbon tab is always visible.

share|improve this answer
    
By accessing the standard ribbon and calling MakeTabAvailable? –  Élodie Petit Aug 14 '11 at 11:49
    
That's the way to go...and you can also use this to make sure that your JavaScript is correctly loaded. –  Wictor Wilen MCA MCM MVP Aug 14 '11 at 11:58
    
Thanks Wictor. The custom tab is visible now but as soon as I click on the tab title Loading animation starts inside the tab area and continues forever. Any ideas? –  Élodie Petit Aug 14 '11 at 13:07
1  
That's probably an error with your custom ribbon code. You need to open up a new question for that. –  Wictor Wilen MCA MCM MVP Aug 14 '11 at 13:07
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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