共用方式為


Customizing QAT for one Item Type disables the ability to customize QAT for other Item Types. Bug?

A few days ago I ran into an issue while trying to customize the Quick Access Toolbar(QAT) for a Item Type in Outlook. I was able to customize the QAT but then I realized that I had lost the ability to customize the QAT for other Item Types(Contacts, Appointments etc.).

I customized the QAT for the RibbonID “Microsoft.Outlook.Mail.Read”, below is the Ribbon XML that I used:

 <?xml version="1.0" encoding="utf-8" ?>
<customUI xmlns="https://schemas.microsoft.com/office/2006/01/customui" onLoad="Ribbon_OnLoad">
  <ribbon startFromScratch="true">
    <qat>
    </qat>
  </ribbon>
</customUI>

Below is a screenshot of a mail when I open it in Outlook. Yeh, I know its not useful to have no QAT and no buttons in the ribbon..that’s because of the startFromScratch=”true”. If startFromScratch is not set to “true” you will not be able to customize the QAT.

Without QAT 

Now lets take a look at the actual problem. I opened up a contact Item and wanted to customize the QAT from the UI but the option to customize is disabled. Below is what it looks like:

image

I had just customized the Ribbon for the RibbonID “Microsoft.Outlook.Mail.Read”, why should that have any effect on the QAT for a Contact?  Bug?