Plantilla: Ribbon.xml
Última modificación: viernes, 16 de abril de 2010
Hace referencia a: SharePoint Server 2010
A continuación se muestra la plantilla de la cinta de opciones que se puede usar para crear Ribbon.xml para las soluciones declarativas intermedias de Microsoft Outlook 2010
<!-- 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>