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 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
add comment

1 Answer

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
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.