Skip to Content
avatar image
Former Member

How to convert UI5 view to PDF in Hybrid HCPms app

Hello Expert,

We are developing hybrid app on HCP using HCPms services,We have a requirement where we have to download a UI5 view to PDF in Hybrid app,We do not have any ECC system in place ,App is running on HANA database.

Is there any way we can generate PDF at HANA side and send it back to UI5.

I read threads where generating PDF client side is not recommanded,I could not find any Kapsel plugin UI5 api to convert Ui5 to PDF,only third part apis are thre but that too no guarantee that they will work on device in Hybrid app .

Any quick help or Standard solution ismost welcome.

Thanks,

Siddharth

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Feb 27, 2017 at 03:41 PM

    Hi,

    Well you could probably use jsPDF to generate the PDF on the client side (UI5) or on the server side (Node.js / xsjs): https://github.com/MrRio/jsPDF

    Cheers,

    Pierre

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 28, 2017 at 09:35 AM

    Experts any quick help is most welcome ,Need to genarte PDF from UI5 view and it should work with All devices as App is being developed using HCPms and Hybrid in nature

    Add comment
    10|10000 characters needed characters exceeded