add button to outlook "edit appointment" view

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

add button to outlook "edit appointment" view
 
Thorben Quandel


Guest


hi there,

i am trying to add a button to outlooks "edit appointment"-view, but i didnt get it...

basically on this solution https://www.add-in-express.com/forum/read.php?FID=5&TID=10736 i tried it with the "readmail"-view and it works, but in the appointment-view the button wont show...
i am using office 2016 and work with the office UI Help Files to find the right idMso?Â?Ð??

one big problem is, that the ribbon tab property "ribbons" dont show any calendar option...

greetings from germany
Posted 13 Jun, 2018 10:17:48 Top
Andrei Smolin


Add-in Express team


Posts: 18793
Joined: 2006-05-11
Hello Thorben,

View? Could you please specify how do I open it? Do you refer to the Ribbon controls or to the data that Outlook displays when you navigate to a certain folder?


Andrei Smolin
Add-in Express Team Leader
Posted 13 Jun, 2018 11:37:12 Top
Thorben Quandel


Guest


Hello Andrei,

I start Outlook, go to the calendar view (in the bottom left corner), select an appointment and open it.

In the ribbon "appointment or meeting" (I am using Outlook in another language) I want to add a new button like in the example in my first post.
Posted 14 Jun, 2018 02:19:36 Top
Andrei Smolin


Add-in Express team


Posts: 18793
Joined: 2006-05-11
Hello Thorben,

To create a custom button on a custom tab to be shown in the appointment window, put an ADXRibbonTab onto the add-in module, set ADXRibbonTab.Ribbons=OutlookAppointment, then add a custom group to the tab, and a custom button to the group.

You may also want to check https://www.add-in-express.com/docs/net-ribbon-tips.php.

Is this what you are looking for?


Andrei Smolin
Add-in Express Team Leader
Posted 14 Jun, 2018 02:51:35 Top
Thorben Quandel


Guest


Hello Andrei,

thanks for your reply! This is what I mean, but I want to add the button in an existing tab. The following screenshot shows where I want to add the button:


User added an image

Your example in my first post shows how to add a button to the "MailRead"-Tab. This works fine for me, I add ?Â?Ð?îADXRibbonTab.Ribbons=OutlookMailRead?Â?Ð?ì and ?Â?Ð?îADXRibbonTab.IdMso "TabReadMessage".


But in my case with the calendar and Appointment view don?Â?Ð?èt show my button.

I add ADXRibbonTab.Ribbons=OutlookAppointment but I don?Â?Ð?èt know which IdMso to use?Â?Ð??

From following msdn page, I get a complete list with outlook controls:
https://www.microsoft.com/en-us/download/details.aspx?id=50745
I tested all controls which contains appointment... but none of them worked..
Posted 14 Jun, 2018 04:04:14 Top
Andrei Smolin


Add-in Express team


Posts: 18793
Joined: 2006-05-11
Thorben Quandel writes:
but I don?Â?Ð?èt know which IdMso to use?Â?Ð??


Section "How to create a custom Ribbon group on a custom or built-in tab" at in the manual and at https://www.add-in-express.com/docs/net-ribbon-tips.php#custom-ribbon-group contains a link pointing to section "Referring to built-in Office ribbon controls" at https://www.add-in-express.com/docs/net-ribbon-components.php#referring-built-in-ribbon-controls. Please have a look at this section.

I open the Excel book called OutlookAppointmentItemControls.xlsx, retrict the ControlType columns to show only tabs and see that the first tab has IdMso="TabAppointment".

hope this helps.


Andrei Smolin
Add-in Express Team Leader
Posted 14 Jun, 2018 07:01:57 Top
Thorben Quandel


Guest


Hi Andrei,

it was my mistake...
I worked with the designer in visual studio and forgot two lines in the AddinModule constuctor called:

this.adxRibbonTab1.IdMso = "TabReadMessage";
this.adxRibbonTab1.Ribbons = AddinExpress.MSO.ADXRibbons.msrOutlookMailRead;



Im so sorry!


Have a nice day THANK YOU for your help!
Posted 14 Jun, 2018 07:38:35 Top
Andrei Smolin


Add-in Express team


Posts: 18793
Joined: 2006-05-11
No problem! You are welcome! :)


Andrei Smolin
Add-in Express Team Leader
Posted 14 Jun, 2018 08:15:38 Top