Sheikz
Sheikz

Reputation: 317

Trying to create an appointment with Office javascript API

I am developing an Office Outlook add-in and I need to save the current appointment from the add-in task panel.

I am calling the function saveAsync from the docs and I get a callback:

OSF.DDA.AsyncResult = {
    status: "succeeded",
    value: "AQMkADAwATE4MTcxLWE3MDQtY2Q3MS0wMAItMDAKAEYAAANujGeKJf27QJ3WnbZQfHXkBwAv9Xp3V8mlSaPlDEU8GYpFAAACAQ0AAAAv9Xp3V8mlSaPlDEU8GYpFAAEmXsrOAAAA"
}

So, it seems the save was successful. However, I do not see any appointment created in my calendar or in others.

What's going on there?

Thanks

Upvotes: 0

Views: 193

Answers (1)

Mavi Domates
Mavi Domates

Reputation: 4521

I think you should be using setAsync rather than saveAsync.

Upvotes: 0

Related Questions