上次修改时间: 2010年4月19日
适用范围: SharePoint Server 2010
本主题介绍在客户订单声明性 Outlook 解决方案中使用的 OutlookContactRibbon.xml 文件的内容。
<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>