You need to sign in to do that
Don't have an account?
NHK
Iframe Not Working in IE11
I have a VF page which contains an iFrame as shown below.
<apex:page controller="SomeController" action="{!callWebService}" sidebar="false" showHeader="false">
<apex:iframe src="data:application/pdf;content-disposition:attachment;base64,{!pdfString}" width="100%" height="600"/>
</apex:page>
pdfString is the string i am getting from the web service callout response as below.
pdfString = EncodingUtil.base64Encode(response.getBodyasBlob());
I am able to view the PDF in Chrome and FireFox, but in IE i am getting a blank white screen. Can some one please help me resolve this issue?
Best Regards,
NHK
<apex:page controller="SomeController" action="{!callWebService}" sidebar="false" showHeader="false">
<apex:iframe src="data:application/pdf;content-disposition:attachment;base64,{!pdfString}" width="100%" height="600"/>
</apex:page>
pdfString is the string i am getting from the web service callout response as below.
pdfString = EncodingUtil.base64Encode(response.getBodyasBlob());
I am able to view the PDF in Chrome and FireFox, but in IE i am getting a blank white screen. Can some one please help me resolve this issue?
Best Regards,
NHK
HTML1524: Invalid HTML5 DOCTYPE. Consider using the interoperable form "<!DOCTYPE html>".
DOM7011: The code on this page disabled back and forward caching. For more information, see: http://go.microsoft.com/fwlink/?LinkID=291337
Example:
<object data="data:application/pdf;base64,{!pdfString}" width="100" height="100"/>
OR
<embed src="data:application/pdf;base64,{!pdfString}"/>
Forf object and embed tags, it will display a black 'X' symbol in IE.