How to print the data displayed in particular interface

One of the requirements requested from our team is to add print button to print the whole request information available in the interface by the end user. Could you please give us the best approach to do this task and what is your suggestions to achieve such these requests putting in your consideration that the interface is a combination of multiple interfaces each interface has its own rule inputs while some interfaces retrieve the data from web service and the others from record type in deferent representations and formats like grids, labels and so on

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    You can build a process model which generates a PDF document having all the information present in the main interface.

    Then Give a 'Print' button (or 'Print' can be a related action on your main record) clicking on which the above mentioned process model will generate the PDF and show another activity chained user interface.

    In the interface use document viewer to show the generated PDF (by passing in document from process to the interface) and a close button.

    Now user can download the pdf or print it using Document Viewer capabilities itself. We had similar requirements and we successfully implemented using this approach. Let me know if you have any other doubts. 

Reply
  • 0
    Certified Lead Developer

    You can build a process model which generates a PDF document having all the information present in the main interface.

    Then Give a 'Print' button (or 'Print' can be a related action on your main record) clicking on which the above mentioned process model will generate the PDF and show another activity chained user interface.

    In the interface use document viewer to show the generated PDF (by passing in document from process to the interface) and a close button.

    Now user can download the pdf or print it using Document Viewer capabilities itself. We had similar requirements and we successfully implemented using this approach. Let me know if you have any other doubts. 

Children
  • We have successfully utilized the "generate PDF" smart services using DOCX as templates. Additionally, we have ensured that all fields in the record type correspond to their respective keys in the DOCX file. While everything operates smoothly, we are encountering difficulties in populating multiple records within a specific table in the document. Could you provide us with some guidance regarding this issue?