Solution Artifact: OutlookContactRibbon.xml
Applies to: SharePoint Server 2010
This topic presents the contents of the OutlookContactRibbon.xml file that is used in the Customer Orders declarative Outlook solution.
<customUI xmlns="https://schemas.microsoft.com/office/2006/01/customui" onLoad="OnLoad" loadImage="GetImage">
<ribbon>
<tabs>
<tab id="ContosoSalesSolutionTabID" label="Contoso Sales Manager" getVisible="GetVisible" tag="Solution">
<group id="CustomerSalesGroupID" label="Customer Sales" getVisible="GetVisible" tag="Context[OutlookContactCustomer.CustomerSalesGroupID]">
<button id="relatedOrderHeaderButton"
size="large"
label="Customer Orders"
onAction="OnAction"
image="Arrow.jpg"
getEnabled ="GetEnabled"
tag="Action[OutlookContactCustomer.RelatedOrderHeaderAction]"
/>
</group>
<group id="CustomerActionsGroupID" label="Customer Actions" getVisible="GetVisible" tag="Context[OutlookContactCustomer.CustomerActionsGroupID]">
<button id="SearchCustomerByPhoneButton"
size="large"
label="Phone Lookup"
onAction="OnAction"
image="MagGlass.png"
getEnabled ="GetEnabled"
tag="Action[OutlookContactCustomer.SearchCustomerByPhoneAction]"
/>
</group>
</tab>
</tabs>
</ribbon>
</customUI>