cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to open PDF files in iOS Mobile Devices(iPad,iPhone).

0 Kudos
1,911

Hi Experts,

We have used jsPDF in SAPUI5(UI5 Version 1.65.8) to generate the PDF document and we have binded the data into the jsPDF which is coming from oData results. We have opened the PDF inside the dialog box using sap.m.PDFViewer.

In Desktop we are able to view PDFViewer without any issues, but in Mobile devices, only the toolbar with a download button is visible.

Could you please provide any alternate option to view the PDF files in the iOS Mobile Devices.

Note: In iOS Mobile devices we are using Custom Fiori Client.

Kindly provide your suggestion or valuable inputs.

Regards,
Manimaran R.

Accepted Solutions (0)

Answers (1)

Answers (1)

WouterLemaire
SAP Mentor
SAP Mentor

You could try to download and open the file in a new browser window on your phone, here how to do this: https://stackoverflow.com/questions/14011021/how-to-download-a-base64-encoded-image

0 Kudos

Hi,
Thanks for your reply.
We are able to open the PDF files in a new browser window on iPhone(Chrome), but we are not able to open the PDF inside the custom Fiori Client.
Could you please suggest any options to open PDF files inside Custom Fiori Client.
Your help is much appreciated.

Regrads,
Manimaran R.