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?
<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?