I'm unable to refresh the Service Calendar view when I'm updating fields on an appointment record.
In this first screenshot I've created a new appointment and my Users are attached to the following fields:
Organizer: Pu Bjerre
Required: Konrad Viltersten and Annie Kruse
The created appointment gives the following view in the Service Calendar.
Now I want to update my appointment by following changes.
Rescheduled the appointment time by one hour
Removed Annie Kruse from the Required field
After I've updated my appointment and refreshed the Service Calendar, this is the view the service calender shows:
It seems that my service calender is only viewing the updates I'm adding, not the updates I'm removing. The only way I'm able to remove Annie Kruse is by closing the browser and log in again into the organization.
No idea what that depends on. Also, I'm not sure how to handle it. Is it by design? Or is it a know (mis)behavior? The usual googling led to nowhere.
Related
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.
I'm trying to cancel a meeting I created by using an EWS XML CreateItem request (against a 2013 server):
<ns2:CreateItem MessageDisposition="SendAndSaveCopy"><ns2:Items>
<ns1:CancelCalendarItem>
<ns1:ReferenceItemId Id="AAMkA...." ChangeKey="DwAAA..."/>
</ns1:CancelCalendarItem>
</ns2:Items></ns2:CreateItem>
So far so good, however Outlook denies me access with the ResponseCode "ErrorCalendarIsNotOrganizer" / "User must be an organizer for CancelCalendarItem action".
A look in the event detail by using GetItem with BaseShape=ALL_PROPERTIES reveals that the account I use is set as Organizer, however at the same time:
the IsOrganizer field is set to false
in EffectiveRights the fields Read, Modify and Delete are true.
I can delete the appointment lateron using a DeleteItem request and it works, however it only removes the appointment from the room's calendar but not from the mailboxes of the attendees.
What causes this? There is no impersonation in use, only the service account I use has delegation access to every room mailbox (to be able to see all appointments).
I can delete the appointment lateron using a DeleteItem request and it works, however it only removes the appointment from the room's calendar but not from the mailboxes of the attendees.
It sounds like your accessing the appointment in the Room Mailboxes calendar ? this is why even if your using the account that is the organizer of that appointment the isOrganizer will return as false because this property is only true on the copy of the Appointment in the Organizers calendar. To correctly cancel the meeting you need to do that on the calendar of the Organizer (not the rooms or any attendee instance of the meeting). This will still only delete the appointment in the organizer calendar and send cancellation messages to the attendees.
An important point is that all instances of the meeting stored in the Attendees and Meeting Room calendars are separate Exchange Store items with no direct link. So deleting the organizer instance (or any attendee instance) has no affect on the other attendees instances these must be processed separately by the attendees themselves based on the cancellation message that is received.
I am sync my outlook calender with my application through ews and also other appointments that are not created by me.
The issue is , I am updating outlook calendar from my application. When I try to update other appointments that are not created by me are throwing error.
Is there way in ews to update those appointments? Since outlook have an option to update(save & close ) the appointments ?
Please advice on this
No as that breaks the business logic eg an attendee can't update a Meeting organised by somebody else. You need to create a Meeting update from the Organiser copy of the appointment and then accept that on the user behalf https://msdn.microsoft.com/en-us/library/office/dd633648(v=exchg.80).aspx if you want to maintain the attendees Calendars integrity.
In my main compose form in an Outlook add-in written in the new office.js API I want to be able to save a unsaved appointment.
By unsaved I mean that the user double-clicked on the calendar, wrote some data on the subject and didn't clicked "Save" just went straight to my add-in by opening the compose form.
When I call
Office.context.mailbox.item.saveAsync
I'm getting following error displayed for the user:
Error: the event couldn't be created on the server. Please try again.
and a pop-up displays a similar message:
Couldn't create the following event: [EVENT_NAME]
any tips how to save this event?
Above behavior is on Outlook Web App.
Please unselect the All day checkbox on the appointment compose form and then call saveasync, it should work. This happens to be a known issue that we are addressing.
All Day Checkbox on compose appointment
I have an Account wherein 2 Appointments appear in the Activities section. I updated the regarding of those Appointments to point to different Accounts. However, the Appointment still shows in Activities of the Account it belonged to originally. Also, this Appointment shows in the new Regarding Account.
Additionally, the owner of the Account record has been disabled in CRM. Could this be a reason for this? Kindly help.
Thanks.
To change the relation completely, have to change the participants in the appointment as well as the regarding attribute, otherwise it will be related to the original account
Hope it helps - M.Acosta.D