Question

Calling a Printable from custom section edit page

Hello,

I am working on a requirement that needs a printable to be downloaded based on the field value from a custom page, having a button as a trigger. Could someone please help me on how to get this requirement done.

Thanks,

Mohamed.

Like 0

Like

2 comments

Hello Mohamed,



To create a button that will trigger printable downloading you should understand how the printable button works in out of the box functionality and create something similar.



Long story short, it interacts with ReportService to create a report file.

"PrintButton" is located in "BasePageV2" schema in "NUI" package. Implementation of the functionality that is responsible for printing is located in "PrintReportUtilities" schema.



Best regards,

Alex

Thanks Alex, I have used "ServiceHelper" to interact with Reportservice to create keys, which in turn helps in downloading files. This approach seems to be working fine. Thanks again.

Best Regards,

Mohamed.

Show all comments