Intercepts PDF Export on Wijmo Report Viewer

Posted by: grapecity on 24 May 2020, 5:36 am EST

  • Posted 24 May 2020, 5:36 am EST

    Is there a way to intercept server side the generation of the PDF when the Export PDF button is executed on the Wijmo report viewer component?

    https://imgur.com/a/buQVS1o

  • Posted 26 May 2020, 12:31 am EST

    Hi Alejandro,

    We are sorry but this is not possible because the PDF is generated on the client-side and is never sent back to the server. But we are investigating some other way to achieve this and we will update you if we will find any further information.

    Regards,

    Ashwin

  • Posted 26 May 2020, 1:52 am EST

    Would be great to have a way of generting on server side rather than client-side. Appreciate any update Ashwin.

    Thanks

  • Posted 7 June 2020, 1:21 am EST

    Hi Alejandro,

    We are sorry for the delayed response on this.

    Could you please share your use case for Intercepting the PDF generation for ReportViewer since the PDF for the report would be the same as the Report is getting displayed.

    Please share your use case with us so that we can continue the investigation on this case.

    Regards,

    Manish Gupta

  • Posted 7 June 2020, 1:49 pm EST

    Hi Manish, thanks for the reply. We have a report that has some information and then we append 2 extra pages with some charts generated server side. So thats why I wanted to know if its possible to intercept the generation of the PDF or if the component has an option to instead of rendering the PDF client side that it happens server side.

    Thanks

  • Posted 7 June 2020, 6:11 pm EST

    Hi,

    Thank you for sharing your use case with us. Please share some more information with us:

    we append 2 extra pages with some charts

    It would work for you if you will be able to add the charts in the Report and the user would be able to print the same report at their end.

    rendering the PDF client side

    It is regarding Viewing the PDF in PDFViewer or you would just would like to export the Modified PDF from the server using ReportViewer,

    Thank you for your patience.

    Regards,

    Manish Gupta

  • Posted 8 June 2020, 2:16 am EST

    Hello Manish,

    This is regarding having the user see the report rendered using ReportViewer and when they click the export button to have the option to trigger an API method so we can take control of the rendering of the PDF and then onces the server side PDF generation process finish then let the stream go back to the client so the “manipulated” PDF is dowloaded just as if it was rendered clientside. So for the user will be transparent.

    Kind regards,

  • Posted 9 June 2020, 10:47 pm EST

    Hi,

    Just to confirm, your request is as follow:

    Click on Export Button

    Modify PDF on server

    Download on Client

    Regards,

    Manish Gupta

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels