Skip to Content

PDF not opening in FIORI client app?

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);

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Feb 28 at 09:29 PM

    Vinothkumar,

    There are a couple of resources which might help here.

    https://archive.sap.com/discussions/thread/3866995

    https://archive.sap.com/discussions/thread/3460159

    Tracy

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 28 at 04:14 AM

    Dear All,

    Am also facing same issue in Mobil Fiori Apps, unable save the pdf file, its through the error as below

    File ui2/ushell/shells/abap/ABC_12679_29/04/2018.pdf NOT found!.

    Could suggest some solution on this.

    Regards

    GA

    Add comment
    10|10000 characters needed characters exceeded