SAP Builders Discussions
Join the discussion -- ask questions and discuss how you and fellow SAP Builders are using SAP Build, SAP Build Apps, SAP Build Process Automation, and SAP Build Work Zone.
cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Build Apps: how to display a pdf document within a container?

EC
Participant
335

Hi Builders !

I am testing the functionalities of SAP Build Apps and I could not find a way to display a pdf document in a container (embedded). I succeeded to open the pdf with a modal window but I was not able to display it directly within the app.

Example: on the left, I have a pick up file process that allow me to select the pdf from my local repository and I would like to display the selected pdf in the container on the right.Example: on the left, I have a pick up file process that allow me to select the pdf from my local repository and I would like to display the selected pdf in the container on the right.

I try with base64 conversion but no success... Any tips? 


Thanks!

6 REPLIES 6

Dan_Wroblewski
Developer Advocate
Developer Advocate
0 Kudos
281
  • You are starting with a URL to a PDF?
  • Web or mobile or both?



--------------
See all my blogs and connect with me on Twitter / LinkedIn

EC
Participant
0 Kudos
245

Hi @Dan_Wroblewski ,

I am starting from a pdf than I pick up from my local machine (local path) for a web app. I already setup the local path variable but I could not find any component able to display the pdf within the app.

v_blum2000
Explorer
0 Kudos
174

Hi @EC.,

did you found a solution for this?

0 Kudos
160

Hi @v_blum2000 ,unfortunately I did not find any solution so far.

I guess a new component will be added to SAP Build Apps in the future.

128

Hi @EC,

I found a solution. Have a look here: https://community.sap.com/t5/sap-builders-discussions/sap-build-apps-inline-frame-remove-sandbox-att...

You can also render the pdf from base64. So eventually it helps you

0 Kudos
67

Thank you so much @v_blum2000 !

Will give it a try !