SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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 am following this tutorial.

http://www.wictorwilen.se/Post/Creating-a-SharePoint-2010-Ribbon-extension-part-1.aspx

However I need that the dropdownlist can only be seen in wiki pages library. I suppose it should be possible.

share|improve this question
up vote 2 down vote accepted

Try to add this in the elements file under CustomActions as a parameters:

RegistrationType="List" RegistrationId="119"

The number 119 referes to a WebPageLibrary ("Wiki Library" (also “Site Pages” in 2010))

More information here: http://techtrainingnotes.blogspot.com/2008/01/sharepoint-registrationid-list-template.html

PS: it might also be possible without the RegistrationType="List".

share|improve this answer

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.