Reputation: 100
Using office.js outlook add-ins, displayReplyAllForm with attachments is opening reply form without attachments in outlook.live.com, but in outlook.office.com its working perfect.
Any workaround for this.
Office.context.mailbox.item.displayReplyAllForm(
{
'htmlBody': template,
'attachments': attachments
});
thanks, Nadeer
and response is
Upvotes: 3
Views: 724
Reputation: 369
I tried this snippet of code, but could not reproduce a problem:
Office.context.mailbox.item.displayReplyAllForm(
{
'htmlBody' : 'hi',
'attachments' :
[
{
'type' : Office.MailboxEnums.AttachmentType.File,
'name' : 'squirrel.png',
'url' : 'http://i.imgur.com/sRgTlGR.jpg'
}
]
});
does this not work for you?
Upvotes: 1