on 02-03-2016 11:11 AM
Hi Experts,
My split app. (XML view) is displaying pdf in detail page.It is working on desktop but when I am using on mobile device it just displays blank page. What should I do ?
Best Regards,
Hüseyin.
Rendering PDFs on mobile is the Achilles heel of PDF. It is just not done well. I have seen some 3rd party apps/solutions, but even then...if is is a static PDF, you are ok....anything else, and it is just bad.....which is why I think Adobe has been working on their HTML5 conversion product. They have talked about it now for the last several TechEds.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Matester.conntroler.js
handleListSelect : function (evt) {
....
var sURI = '/sap/opu/odata/sap/ZHE_FAT_ONAY_SRV' + sRead + '/$value';
try{
var detailController = sap.ui.demo.myFiori._detailController;
var form = detailController.getView().byId("Fatura2");
var content = form.getContent()[0];
content.getDomRef();
jQuery(content.getDomRef()).attr('src',sURI);
content.rerender();
}
catch(e){
jQuery.sap.log.warning("failed to set resource");
}
this.nav.to("Detail", context);
},
Detail.conttroller.js
onAfterRendering: function(){
sap.ui.demo.myFiori._detailController = this;
},
What is the missing part ?
try this
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
10 | |
8 | |
8 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.