Office.context.mailbox.displayNewAppointmentForm() fails with undefined exception RRS feed

  • Question

  • I am creating an Apps for Office Mail app (1.1 API) and in the appointment compose form, I need to create a new appointment based on the current appointment.

    I am finding that Office.context.mailbox.displayNewAppointmentForm() is undefined when running from Outlook Web Access.  Is there any way around this?


    Friday, January 9, 2015 4:21 PM

All replies

  • Hi Synergist,

    As you can see from our official documentation (https://msdn.microsoft.com/en-us/library/office/fp161098(v=office.1501401).aspx), we do not have this API available in our Compose mode.

    What is the scenario you're trying to accomplish?

    Thanks for building,


    Wednesday, January 21, 2015 9:40 PM
  • Alex,


    I am trying to add an appointment right before the current appointment.


    <p>Michael S. Scherotter<br/> Media Experience Evangelist, Microsoft Corporation<br/> <a href="http://blogs.msdn.com/synergist">Blog</a>, <a href="http://twitter.com/synergist"> Twitter</a>, <a href="http://facebook.com/synergist">Facebook</a> </p>

    Tuesday, January 27, 2015 3:25 PM
  • You can either use mailbox.makeEwsRequestAsync, or call our REST APIs https://msdn.microsoft.com/office/office365/APi/calendar-rest-operations and do this behind the scenes for the user.
    Saturday, January 31, 2015 5:33 AM