Skip to Content

PDF Display in mobile view sapui5

Hi All,

I have implemented below code in my application to integrate PDF:

var odataModel = new sap.ui.model.odata.ODataModel(finalUrl, false); talent.getView().setBusy(true);, null, null, true, function(oData, oResponse)


var pdfURL = oResponse.requestUri;

var newpdfURL = pdfURL + "?&embedded=true";

var html = new sap.ui.core.HTML();

html.setContent("<iframe src=" + newpdfURL + " style='width:600px; height:500px;' frameborder='0'></iframe>");

var panel = new sap.m.Panel(); panel.addContent(html);



Its working properly in desktop view but pdf is not getting displayed in mobile view, its showing blank page and also automatically downloads the PDF

Please can anyone help me regarding this issue


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers