SAP Mobile App Development

PDFViewer for SAPUI5 Application

                Sometimes we may have to show pdf documents in our application.Earlier SAPUI5 Developers has to use third party libraries and custom controls to achieve this requirement.Now the happy news is we no longer have to😎.
           In the latest SAPUI5 version(1.48) there is a new control called sap.m.PDFViewer.Thanks to SAPUI5 development team.In this tutorial we will see simple SAPUI5 PDFViewer.

  1. SAPUI5 application created.

  1. Open the view and paste below code.We are using our brand new sap.m.PDFViewer and give the properties title and source.

  2. <mvc:View controllerName="odataaaa.controller.View1"
      <Page title="{i18n>title}">
       <PDFViewer title="New SAPUI5 PDFViewer" source="">

  3. Now run the application.I have posted my application screenshot.
Note:I faced some issues in google chrome browser.It was not loading at first time.I was also getting a warning message of synchronous xmlhttprequest.We can hope for a stable control in upcoming UI5 versions.

What are you waiting for? spread the news😏..
Visit PDFViewer Demo page by SAP

If you enjoyed this post, Please Share!!


  1. This comment has been removed by the author.

  2. Its working Fine in Desktop mode , But not working in SAP Fiori Client App ?

    1. try using property displayType 'Embedded'.

  3. That said, we can’t award good marks right here, as their incredible roulette live on line casino just isn't provided for all nations. There are over three,500 on line casino games right here, which is an astronomical quantity that dwarfs lots of their rivals. We can’t give 코인카지노 full marks right here, though, because the that} min deposit for credit/debit is $50, which probably be} a strike for most casual gamers. There’s also a 7.5% payment for cards, so we recommend going with crypto right here.


Powered by Blogger.