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

My question is regarding a command which is bound to an OOTB button. On the ribbon you have a button to email a link, so this buttons they have some commands like: EmailLink, EmailLibraryLink, etc For example you have following declaration of the email button:

        Image16by16="/_layouts/$Resources:core,Language;/images/formatmap16x16.png" Image16by16Top="-16" Image16by16Left="-88"  
        Image32by32="/_layouts/$Resources:core,Language;/images/formatmap32x32.png" Image32by32Top="-128" Image32by32Left="-448"

So my question is, where exactly is this implemenation of the command? Where is the code that is beeing called?

share|improve this question
up vote 1 down vote accepted

If you search the 14 hive for "EmailLink" or other OOB commands it finds the command in the file SP.Ribbon.js or SP.Ribbon.debug.js. The debug version is the readable version.

This file is located in \14\TEMPLATE\LAYOUTS\SP.Ribbon.debug.js

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.