View Single Post
  #5  
Old July 10th 07, 08:10 AM posted to microsoft.public.outlook.program_addins
Christian Havel
external usenet poster
 
Posts: 43
Default Insert Ribbon buttons into QuickAccessToolbar problem

Hi Ken,

I tried it with the following code:

customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"
loadImage="LoadImage"ribbontabstab idMso="quat" button
id="IDS_WaehlenCombo" label="Wählen" onAction="cmdCommonRibbonBttn"
getImage="GetImage" /button id="IDS_Auflegen" label="Auflegen"
onAction="cmdCommonRibbonBttn" getImage="GetImage" /button
id="IDS_Aktionen" label="Aktionen" onAction="cmdCommonRibbonBttn"
getImage="GetImage"//tab/tabs/ribbon/customUI

and received the following error message (translated from german):

Errorcode: 0x80004005
Element '{http://schemas.microsoft.com/office/2006/01/customui}button' is
corresponding to the "Inhaltsmodell" from the higher element
'{http://schemas.microsoft.com/office/2006/01/customui}tab' unexpected

Christian

"Ken Slovak - [MVP - Outlook]" wrote:

Hmm. It's documented as "Quick Access Toolbar" but you might need to use
"qat" despite the documentation. See if it works if you use the idMso =
"qat".

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Christian Havel" wrote in
message news
Hi Ken,

I tried it with the two following Ribbon descriptions. I receive the error
message:

Failure in analysing from "Quick Access Toolbar" as NCName-datatype.
Failure in analysing from attribut "idMso" with the value "Quick Access
Toolbar"

(It is translated from german)

1.) Ribbon desription:
customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"
loadImage="LoadImage"ribbontabstab idMso="Quick Access Toolbar"
group

id="c4bBrand" label="XPhone"button id="IDS_WaehlenCombo" label="Wählen"
onAction="cmdCommonRibbonBttn" getImage="GetImage" /button
id="IDS_Auflegen" label="Auflegen" onAction="cmdCommonRibbonBttn"
getImage="GetImage" /button id="IDS_Aktionen" label="Aktionen"
onAction="cmdCommonRibbonBttn"
getImage="GetImage"//group/tab/tabs/ribbon/customUI

2.) Ribbon description:
customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"
loadImage="LoadImage"ribbontabstab idMso="Quick Access Toolbar"
button id="IDS_WaehlenCombo" label="Wählen"
onAction="cmdCommonRibbonBttn"

getImage="GetImage" /button id="IDS_Auflegen" label="Auflegen"
onAction="cmdCommonRibbonBttn" getImage="GetImage" /button
id="IDS_Aktionen" label="Aktionen" onAction="cmdCommonRibbonBttn"
getImage="GetImage"//tab/tabs/ribbon/customUI



Ads