Search code examples
outlookoffice-jsoffice-addinsoutlook-web-addins

Outlook web addin issues


I am developing an Outlook Web Addin using Fabric UI.I have run into couple of issues which are given as follows:

The following is my outlook web addin screen shot:

enter image description here

1: enter image description here

Issue #1 : I do not have access to addin title "My Test Outlook Web Addin" from within my code. I want to change the CSS properties of the title but I do not seem to have access. This title is defined in an XML file.

Issue #2: I have "Save" and "Cancel" buttons. In their call backs I need to perform some task and close the addin dialog. But I am not able to close the addin dialog. I can close the addin by clicking 'X' icon on the top, but not from within my code.

Issue #3, How to get file types icon with plane JS? (https://developer.microsoft.com/en-us/fabric#/styles/web/file-type-icons)

I am not using React or AngularJS. I am using Core fabric UI with plane JS.

Any help on these issues and on how to control properties of outlook web addin is highly appreciated.

Thanks!


Solution

  • For Issue #1: It is currently not possible to change the styling of the title bar. We track Outlook add-in feature requests on our user-voice page. Please add your request there. Feature requests on user-voice are considered when we go through our planning process.

    For Issue #2: You can use the closeContainer API to close the add-in task pane.