I use EWS 2.0. Is it possible to prevent appointment modifications on ExchangeServer programmatically? or is there some way to undo change/delete?
Related
I am writing a script to reply to AppointmentItem in outlook. The AppointmentItem does not expose ReplyAll (or Reply) method, and that is only available for MeetingItems. However, all the events on a user's calendar are stored as AppointmentItem class, even if there are multiple attendees. I am wondering how I can ReplyAll to an AppointmentItem? Is there any way to get the associated MeetingItem?
PS: When I right click on an AppointmentItem in Calendar it does enable ReplyAll, so there should be a way to do this.
Currently, this API/feature is not a part of the product. We track Outlook add-in feature requests on our Tech Community Page. Please submit your request there and choose the appropriate label(s). Feature requests on Tech Community are considered, when we go through our planning process.
We'd like to use Microsoft Graph API to create calendar events in order to sync the calendar events of our own application with the ones in Outlook. However, in our application, we have time periods that are closed for altering. So, the events become read-only on our side. Now we need Outlook to behave accordingly. Is there a way to create a (or alter an existing event to a) read-only calendar event (prevent the user from changing the time frame or deleting an event)?
It is not sufficient for us to only listen to changes made in Outlook because it's forbidden on our side to delete an event that's already "closed" and without deleting it in our application, there would be an inconsistency in the data.
Currently I am developing an Add in for Outlook and I have implemented onSend event. Since it is UI-less and it is always triggered, I was wondering is there a way to only trigger it for Appointments not emails? This is because user experience, for them not to have "Add in" triggered when messages are created and sent out.
There isn't a way to restrict On-send to just appointments. One workaround, which I'm sure you are aware of, is to no-op the event handler if the item is a message. This doesn't solve the problem of the add-in running on messages.
We track Outlook add-in feature requests on our Tech Community Page. Please submit your request there and choose the appropriate label(s). Feature requests on Tech Community are considered, when we go through our planning process.
I am writing an outlook web Add-In where the user can create an appointment and book a meeting room through the software.
The problem is that once the user closes the Add-In and goes back to the calendar, they can freely change the date of the appointment by dragging it around, and the Add-In cannot see those changes, since it's not open.
That means that those changes do not get registered into the system and are essentially only local to the user who made them. I need a way that I can detect whenever the user changes the date of an appointment, so that I can update the data on my end.
I have heard about subscribing to notifications but I'm not sure that is the best solution. Any Ideas would be highly appreciated.
Not from a web addin - you can do that from a standalone app that continuously runs and uses either the Outlook Object Model (Items.ItemChange event) or EWS to receive the folder notifications. Or you can do that from a COM addin that uses the Items.ItemChange event.
Is it possible to prevent a user from editing appointments and tasks in Outlook. The tasks and appointments are synchronized using an addin we are developing.
We want to make a first release, but we have to prevent the user from editing the items, because we can't sync to changes at to moment back to the server.
We use Redemption to create the appointments and tasks, Which is build on MAPI.
We are also using AddinExpress to make some things happen in Outlook.
Any ideas are welcome.
Unless you create your own store provider, you cannot make a truly read-only appointment or task.
You can try to intercept the Wrire event on each particular item and set the Cancel parameter to true.