Template: Ribbon.xml

Applies to: SharePoint Server 2010

The following is the ribbon template You can use to create Ribbon.xml for your intermediate declarative Microsoft Outlook 2010 solutions..

<!-- If using a custom ribbon manager, you can specify the appropriate callback method for OnLoad. Otherwise use 'OnLoad' as the callback method. -->
<customUI xmlns="https://schemas.microsoft.com/office/2006/01/customui" onLoad="OnLoad" loadImage="GetImage">
<!-- This file defines actions that are exposed as custom ribbons in Outlook 2010. -->
<!-- Actions can be used to navigate to a URL or execute a piece of code when clicked. -->
<!-- Specify the tabs, groups, and controls for your customization. This template defines a custom tab in the ribbon with a group that contains two buttons. -->
  <ribbon>
    <tabs>
      <tab id="EnterUniqueTabID" label="EnterTabDisplayName" getVisible="GetVisible" tag="Solution">
        <group id="EnterUniqueGroupID" label="EnterGroupDisplayName" getVisible="GetVisible" tag="Context[<EnterContentTypeNameInOIR.CONFIG>.<EnterGroupID>]">
          <button id="EnterUniqueButtonID"
                      size="large"
                      label="EnterButtonDisplayName"
                      onAction="OnAction"
                      image="EnterIconFileNameWithExtension"
                    getEnabled ="GetEnabled"
                    tag="Action[<EnterContentTypeNameInOIR.CONFIG>.<EnterActionNameFromOIR.CONFIG>]"
                  />
          <button id="EnterUniqueButtonID"
                     size="large"
                     label="EnterButtonDisplayName"
                     onAction="OnAction"
                     image="EnterIconFileNameWithExtension"
                   getEnabled ="GetEnabled"
                   tag="Action[<EnterContentTypeNameInOIR.CONFIG>.<EnterActionNameFromOIR.CONFIG>]"
                  />
        </group>
      </tab>
    </tabs>
  </ribbon>
</customUI>