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 have a custom list definition defined as follow:

<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<!-- Do not change the value of the Name attribute below. If it does not match the folder name of the List Definition project item, an error will occur when the project is run. -->
  <ListTemplate
    Name="Faldone Cliente"
    Type="10001"
    BaseType="1"
    OnQuickLaunch="TRUE"
    SecurityBits="11"
    Sequence="110"
    DisplayName="Faldone Cliente"
    Description="Struttura per la gestione del faldone cliente."
    Image="/_layouts/images/CONTACTS.png"
    FolderCreation ="FALSE"
    VersioningEnabled="TRUE"
    DisallowContentTypes="FALSE"
    Category="Libraries"
    MultipleTypes="TRUE"
    />
</Elements>

And a Ribbon defined as:

<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
 <CustomAction
 Id="TabCliente"
 Location="CommandUI.Ribbon.ListView"
 RegistrationId="101"
RegistrationType="List"
 >

This works with every document library but not with my custom list (can't see it at all)

How can I make my Ribbon visible only on my custom list definition??

There is a way to link the ribbon on my ID? Thank you!

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

I found the way to do that!

By code debugging i found the Template ID of my List. This was 10001, so I put it in the ribbon instead of 101 and magically the Ribbon appears ;-)

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.