Reputation: 4936
We have an add-in for Office Apps - using the compose form on Outlook appointments in the calendar.
Because finally the office.js add-ins support for Outlook for Mac is out as written here, I have some questions:
Office.context.mailbox.item.body.setAsync(newBody, { coercionType: Office.CoercionType.Html }, callback)
seems to do nothing, only for Office.CoercionType.Text
it seems to workwindow.open(url, target, features)
opens a modal window on top of the appointment, which is again different behavior to Outlook Web ClientUpvotes: 0
Views: 565
Reputation: 131
Question #1 MacOutlook uses webkit to render addin page. You can run the following command from CLI
defaults write NSGlobalDomain WebKitDeveloperExtras -bool true
Restart the outlook and invoke the Add-in. You will see new menu item inspect Element which will let you inspect the elements in the page.
Question #3: If the URL to be opened in a domain that is not listed in appmanifest, the URL will be opened in a separate browser window. The url to be opened is in the domain listed in appmainfest, you will see a popup window. MacOutlook uses modal window due to the limitations of webkit library currently being used.
Question #2 : Can you give specific steps to reproduce the problem and share the Outlook version that you are using - We do not see this problem
Senthil @ Microsoft
Upvotes: 1