Outlook add-in activation rule for compose new appointment - outlook-addin

I'm developing an Outlook mail app using vs 2015. I want to show my add-in only when the existing calendar item is opened. When I have the FormType as ReadOrEdit in Rule Collection of manifest, the add-in shows for the appointment while creating itself. i.e. new appointment also has add-in. I don't want to show the add-in while creating a new appointment.
Is there any way to achieve this?

Change your FormType to Read. Then it will be shown only when you open existing one.

Changing FormType to Read doesn't help. Read works for meeting appointment created by other users. If the user is the Organizer of the appointment, add-in doesn't show.

Related

Custom appointment form is different when opening appointment

I have made a custom form region for my appointments in outlook - Which I really would like to use.
However, I have a problem with implementing it in my outlook.
When I want to schedule a new appointment, it opens up the correct form that I want to use - and works without any issues.
However, the problem occurs when I want to open and see my appointment. Here, it shows some previous published version - Which of cause does not properly work.
Things I have tried
I don't remember, that I at any time specified a default form to use upon opening an appointment. But the way it acts, it seems like I did.
I have tried deleting and republish my form with a different name
I have tried specifying "When posting to this folder, use" for my calendar
Still, it keeps opening already scheduled appointments with a completely different form, that I made several days ago.
Every Outlook item has the class name set, so that is how Outlook knows which form should be used to display the item. See Associate a form region with an Outlook message class for more information.
Also, you may take a look at the Assign a custom form to existing Outlook items article.

Outlook Addin (AppointmentOrganizerCommandSurface): First time user loads addin saves the open appointment item to calendar

I have written an Outlook web addin that uses a manifest which includes an AppointmentOrganizerCommandSurface extension point. So the addin shows in the ribbon for a new meeting/appointment item created by the user in desktop Outlook 2016.
The initial page loaded in the Outlook pane for the addin simply uses a javascript function (Office.onReady) to pull the email address of the user with loadItemProps(userProfile).
It seems that when a user runs the addin for the very first time the open appointment item is automatically saved to the calendar as soon as the manifest is loaded by Outlook. This does not happen after the first time use of the addin.
There is nothing else happening on the initial page other than the Office.onReady. So it looks like Outlook is doing this when the AppointmentOrganizerCommandSurface is initiated the first time.
Is there a way to prevent this from happening?

Outlook 2013 customization and integration in exchange online

I want to customize the appointment window used in Outlook. I want add few custom fields. I am using VSTO (VS2013) to develop this addin.
So far I have added a button in ribbon of appointment tab. On click of which I am opening a new form with custom fields. Now when user completes the form and other appointment details and appointment is saved then along with all appointment data, custom data entered by user should also get emailed to recipients.
And also that custom data would be stored in Exchange, and later that data can be queries to generate report.
So my question is - how do override the save appointment event so that I can add additional data in appointment and also how do I save it to exchange online using office 365.
Please advise.
Thanks.
When you are using an Exchange account which is the case with Office 365. The UserProperties of an Outlook item is kept in Exchange.
You can persist the custom data in UserProperties
If you want to Save your custom data when the appoitment is saved. You should put an event handler in the AfterWrite event. See AppointmentItem event list.

Automatically insert email signature into Outlook Meeting Invite

I have been searching the web for a way to do this but no such luck. My goal is to save a meeting agenda template into an email signature which would be inserted into every meeting invite created by me.
Looking for some clues on how to do this?
Outlook 2010 and newer include the form designer.
File -> Options -> Customize Ribbon, then, in the Right Side pane, click to turn on the Developer Tab.
From there you can design Meeting Request template to your specification.
Then, to use it, you will select:
New -> Meeting Request Using -> (Your Custom Template) from the Outlook Home tab.
You can handle the ItemSend event of the Application class where you can check out the message class of the outcoming Outlook item and change the message body if required.
Think you will find the Getting Started with VBA in Outlook 2010 article helpful.

Sharepoint 2010 Calendar integration with Outlook 2010

I have created a calendar list and then in list settings I've added the column Attendees. Then I created an event with certain attendees and the type as meeting. And later integrated to outlook 2010 through the Connect to Outlook option in the ribbon button. I can view the created sharepoint calender along with the default outlook calendar in outlook. But when I select an event it doesn't show the attendees I have added through sharepoint.
Is there a way to show the attendees?
There is no great way to expose custom SharePoint columns Outlook with the native connection. Outlook only understands a strict set of columns for appointment types.
We have been working on and Outlook add-in that extends the functionality and exposes any custom columns directly within Outlook 2007/2010. You can find more at http://propersync.com/unifiedcalendar.aspx.
*Disclaimer - I am part of the ProperSync team and hope this has been a relevant and useful posting.