Show custom ribbongroup in new meeting ribbon

Add-in Express™ Support Service
That's what is more important than anything else

Show custom ribbongroup in new meeting ribbon
 
Michiel van Ingen




Posts: 11
Joined: 2010-12-29
Hello,

I'm trying to have my custom ribbongroup display in the "default" ribbon tab when
creating a new meeting (if possible before the "Actions" group):

User added an image

I can create and display my custom ribbongroup in a new tab, but if I set "idMso" to
"TabAppointment" my custom ribbon group does not show up, what am I doing wrong?

Thanks!!
Posted 18 Dec, 2016 16:47:25 Top
Andrei Smolin


Add-in Express team


Posts: 14129
Joined: 2006-05-11
Hello Michiel,

Does it show after all groups in that tab? If so, the TadxRibbonGroup component should have the BeforeIdMso property set to 'GroupActions'.

If this isn't the case, switch to "Views as Text" and copy the settings of the Ribbon components here.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 19 Dec, 2016 04:26:55 Top
Michiel van Ingen




Posts: 11
Joined: 2010-12-29
Hello Andrei,

No, it is not visible anywhere, if I clear the idMso, a new tab is displayed with my group on it.

This is the textview of the ribbon components:

object AddInModule: TAddInModule
OldCreateOrder = True
AddInName = 'TestAddin'
SupportedApps = [ohaOutlook]
TaskPanes = <>
Height = 400
Width = 380
object adxRibbonTab1: TadxRibbonTab
Caption = 'adxRibbonTab1'
Controls = <
item
Id = 'adxRibbonGroup937C201FAC6E4846AD1B5A399F746474'
IdMso = 'TabAppointment'
InsertBeforeIdMso = 'GroupActions'
Caption = 'adxRibbonGroup1'
Ribbons = [msrOutlookAppointment, msrOutlookExplorer]
Ribbons2010 = [msrOutlookExplorer2010]
ControlTypes = {0100000007000000}
Controls_ = <
item
Id = 'adxRibbonButtonA006F852C3F841E191FFF0C557B9E483'
Caption = 'adxRibbonButton1'
Ribbons = [msrOutlookAppointment, msrOutlookExplorer]
Ribbons2010 = [msrOutlookExplorer2010]
end>
end>
Id = 'adxRibbonTab9E6C5503F72A418A9B5BAB4C02FA1A5D'
IdMso = 'TabAppointment'
InsertBeforeIdMso = 'GroupActions'
Left = 32
Top = 16
Ribbons = [msrOutlookMeetingRequestRead, msrOutlookMeetingRequestSend, msrOutlookAppointment, msrOutlookExplorer]
Ribbons2010 = [msrOutlookExplorer2010]
end
end

I'm using Delphi XE2 and Outlook 2013 32bit.

Best regards,
Michiel
Posted 19 Dec, 2016 06:04:51 Top
Andrei Smolin


Add-in Express team


Posts: 14129
Joined: 2006-05-11
Hello Michiel,

The issue occurs because there's no "TabAppointment" in the msrOutlookExplorer ribbon. Your add-in should work if you set the Ribbons property of *all* the Ribbon components above to msrOutlookAppointment.

It also looks like you have the following flag disabled: see https://technet.microsoft.com/sr-latn-rs/library/bb608619(v=vs.120).

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 19 Dec, 2016 08:02:40 Top
Michiel van Ingen




Posts: 11
Joined: 2010-12-29
Hello Andrei,

Now it does show up at the correct position!!

This is the current text version for anyone interested:

object AddInModule: TAddInModule
OldCreateOrder = True
AddInName = 'TestAddin'
SupportedApps = [ohaOutlook]
TaskPanes = <>
Height = 400
Width = 380
object adxRibbonTab1: TadxRibbonTab
Caption = 'adxRibbonTab1'
Controls = <
item
Id = 'adxRibbonGroup937C201FAC6E4846AD1B5A399F746474'
InsertBeforeIdMso = 'GroupActions'
Caption = 'adxRibbonGroup1'
Ribbons = [msrOutlookAppointment]
Ribbons2010 = []
ControlTypes = {0100000007000000}
Controls_ = <
item
Id = 'adxRibbonButtonA006F852C3F841E191FFF0C557B9E483'
Caption = 'adxRibbonButton1'
Ribbons = [msrOutlookAppointment]
Ribbons2010 = []
end>
end>
Id = 'adxRibbonTab9E6C5503F72A418A9B5BAB4C02FA1A5D'
IdMso = 'TabAppointment'
Left = 32
Top = 16
Ribbons = [msrOutlookAppointment]
Ribbons2010 = []
end
end

Thank you Andrei for your help, much appreciated!!

Best regards,
Michiel
Posted 19 Dec, 2016 09:55:50 Top
Andrei Smolin


Add-in Express team


Posts: 14129
Joined: 2006-05-11
You are welcome!

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 19 Dec, 2016 10:28:27 Top