SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've successfully added a custom ribbon button to my site and everything shows up as expected. However, when I go to a sub site, my custom ribbon button doesn't show up. How can I get my button to show up in the main site and also sub sites? I assumed that a button deployed to the main site would also carry over to sub sites but I guess that isn't the case. Anyone have any ideas or guidance? My button get's added to the "Media" group of the "Insert" tab for the RTE.

Here is my button code:

<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="">
                        ToolTipDescription="Insert a video into the page."
                        LabelText="Insert Video"
                        TemplateAlias="o1" />
                        CommandAction="javascript:alert('MyCompanyInsertVideoButton clicked!');"
share|improve this question

Looks like you have a Web-scoped feature. You should try to change your feature scope to Site.

share|improve this answer
Nope, it actually is a site scoped feature. – TehOne May 19 '11 at 21:29
The behaviour described is certainly consistent with a web-scoped feature. – SPDoctor May 20 '11 at 8:52
I'll test this as soon as I can. – Andrey Markeev May 20 '11 at 12:31
up vote 0 down vote accepted

I did end up finally finding the problem to this, it wasn't actually a problem with any code anywhere, but it was a caching problem in the browser. Apparently, doing an F5 or ctrl-r refresh wasn't good enough to clear out the ribbon cache, so I had to manually clear out my browser cache, then I would see the correct ribbon. I feel like an idiot for this, but in any case it's something to note down for future users.

share|improve this answer

Your Answer


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.