Question Ribbon customization (1 Viewer)

AliyuKatsina

Registered User.
Local time
Today, 17:19
Joined
Dec 31, 2009
Messages
73
I have created a custom ribbon using the following XML

<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon startFromScratch="true">
<tabs>
<tab id="tabMain" label="Pension Commands">
<group id="grpGeneral" label="General">
<button idMso="FileBackupDatabase" label="Back up Program" enabled="true"/>
</group>
<group id="grpPensionersMatters" label="Pensioners Matters">
<button id="btnNP" label="Enter New Pensioner" onAction="MnPenMatNewPensioners" size="normal"
imageMso="HappyFace" supertip="Click to add a new Pensioner."/>
<button id="btnCP" label="Confirm New Pensioner" onAction="MnPenMatComfirmNP" size="normal"
imageMso="AppointmentColor10" supertip="Click to Comfirm new Pensioner."/>
<button id="btnAP" label="Approve New Pensioner" onAction="MnPenMatApproveNP" size="normal"
imageMso="AcceptInvitation" supertip="Click to Approve new Pensioner."/>
<button id="btnDP" label="DeActivate Pensioner" onAction="MnPenMatDeactivate" size="normal"
imageMso="DeclineInvitation" supertip="Click to Remove Dead Pensioner."/>
</group>
</tab>
</tabs>
</ribbon>
</customUI>

The question is the build-in file back up button doesn't appear in the general tab, can anybody figure why?

I also want to disable some of the buttons depending on who logged on. Can somebody show me how?
 

AliyuKatsina

Registered User.
Local time
Today, 17:19
Joined
Dec 31, 2009
Messages
73
Thanks Avelino, the site solved my problem. The only issue is can you figure why this xml line is not showing the file back up control?
<button idMso = "FileBackupDatabase" size ="large"/>
Thanks once again.
 

Banana

split with a cherry atop.
Local time
Today, 08:19
Joined
Sep 1, 2005
Messages
6,318
I had a similar problem a while ago like this. A solution was to do a 'visible=true'. Weird, but it works.
 

AliyuKatsina

Registered User.
Local time
Today, 17:19
Joined
Dec 31, 2009
Messages
73
It really worked! I think microsoft should look at that in their future updates. Thanks
 

Banana

split with a cherry atop.
Local time
Today, 08:19
Joined
Sep 1, 2005
Messages
6,318
Cool, thanks for reporting back. :)
 

Users who are viewing this thread

Top Bottom