Skip to Content
0
Jan 24, 2018 at 05:36 PM

PDF not opening in FIORI client app?

2605 Views

Hi All,

I'm working in FIORI application. PDF attachment is shown with iframe tag in view, it was working in browser but not opening in FIORI client application scroll and compatibility for mobile is not working. kindly suggest some solution.

code:

var oHtml = this.getView().byId("idFrame");

var sURI= "data:application/pdf;base64,"+base64;

var pdf = "<iframe id='myiframe' src="+ sURI +" width='100' height='100'></iframe>"; oHtml.addContent(pdf);