Pdfmake: Not working with IE11

Created on 2 May 2017  路  5Comments  路  Source: bpampuch/pdfmake

I am exporting tables using pdfmake as well as exporting a ui-grid.
Using IE (ver. 11.1066.14393.0).

I am using
.open()
because I want to the pdf to export to a new tab.

When I hit the button to export the report, it opens a blank page with a msg that says
"Do you want to allow this website to open an app on your computer?"

If I hit allow it opens another pop up that says
"You will need a new app to open this blob"

With an option that gives me a chance to look for an app in the Microsoft store.

I will click that link and it shows no results for "blob"

Any ideas would be greatly appreciated. Thank you.

Most helpful comment

@jeco123 Try to ask Microsoft, when adds open tab support to Internet Explorer... In chrome is available.

All 5 comments

In Internet Explorer 11 is supported only download() method.
Supported browsers are described here: https://github.com/bpampuch/pdfmake/issues/800

Good to know.

Is there a way for me to use both open() and download() depending if they are using say firefox/chrome or IE11?

Yes, use browser detection (http://stackoverflow.com/questions/2400935/browser-detection-in-javascript , or other link on google) and then according to call open() or download().

We need to use the open() method for the main browsers ie10 / ie11 / chrome etc...
When the open() method will be available?

@jeco123 Try to ask Microsoft, when adds open tab support to Internet Explorer... In chrome is available.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kumarandena picture kumarandena  路  3Comments

michaelqiji picture michaelqiji  路  3Comments

davidyeiser picture davidyeiser  路  3Comments

MathLavallee picture MathLavallee  路  3Comments

qgliu picture qgliu  路  3Comments