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 in the process creating the webpart associated ribbon following the example. http://msdn.microsoft.com/en-us/library/gg552606.aspx I would like to create my own GroupTemplate. However it seams I cannot find the location in the Elements.xml to put the definition. I tried inside

share|improve this question
add comment

2 Answers 2

Location for ribbon group templates is Ribbon.Templates._children. For example:

<CustomAction Id="MyRibbonCustomization" Location="CommandUI.Ribbon">
    <CommandUIExtension>
        <CommandUIDefinitions>
            <CommandUIDefinition Location="Ribbon.Templates._children">
                <GroupTemplate Id="Ribbon.Templates.MyCustomGroupTemplate">
                    <!-- your group template definition goes here -->
                </GroupTemplate>
            </CommandUIDefinition>
        </CommandUIDefinitions>
    </CommandUIExtension>
</CustomAction>
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.