Skip to content Skip to sidebar Skip to footer

Outlook/ie Failing To Run Addins Using Bigint Data Type

Outlook currently uses IE11 as its backend when executing Javascript. Since IE does not fully support ES6/ES2015, IE fails to execute code using 'BigInt'. I know for a fact that Mi

Solution 1:

  1. Would be a no. From memory, Outlook uses it's own HTML renderer.

  2. Probably, have you tried bigint-polyfill?

  3. Only with a polyfill

Solution 2:

Is there a way to force outlook to use microsoft Edge as its backend?

The browser used by Outlook depends on your OS and Office 365 versions. You could refer to the table in this doc. If you want to use Microsoft Edge browser in Outlook, I think you need to update your OS version or Office 365 version according to below:

enter image description here

For question 2, I think it's impossible and I gave my opinion in your question before.

Is there any possibility at all that IE supports ES6 before its end of life?

No. From the statement of Microsoft: Security updates, compatibility fixes, and technical support continues for IE 11 on Windows 7, 8.1, and 10. It means Microsoft has no plan to continue adding features to Internet Explorer 11. So IE 11 won't support ES6 in the future and we can only use polyfill or babel to transpile some ES6 code for IE 11.

Solution 3:

Thank you all for your help and answers. Today, I was able to make BigInt work with IE11 and old versions of Safari.

Although, I have not tested the entire BigInt library with IE, I have tested my solution on how to make BigInt work on IE just enough for my needs. I will continue to test though. And if anybody reading this finds a better fix, i hope you can share too.

Here is what I did to make BigInt work for my Outlook-Addin in IE11 :

  1. Installed/added the JSBI Library into my project.
  2. Added some dataview polyfills, from JSBI-dataviews. Please see my comments.
  3. Also based some modifications on elk-chat

I hope this helps everyone.

Post a Comment for "Outlook/ie Failing To Run Addins Using Bigint Data Type"