Unable to do a print off an app page


Leap Version: 1.1.11
Leap Deployment: Domino Leap / Standalone
Operating System: windows 11


Problem/Query: Unable to print an app page; printing is only possible from a form page. Attempting to print an app page just results in a blank page.

Hello,

The Leap documentation states:

"Printing Leap content

Leap provides a print button. If there is no print button in the contents of your form, the web browser print function does not work well. To print out the contents shown in your browser, use a screen capture. For more information, see Taking a screen capture in Windows™."

Troubleshooting HCL Leap

If this is something you would like to see in a future release, please submit an Idea in the Ideas Portal under Leap:

Thanks!

First of the Known limitations section in the documentation for HCL Domino Leap 1.1.11 is the same, as the one provided in the previous answer where the link pointed to HCL Leap 9.3.13.

Still i would suggest you try printing the app-page with the browsers printing function ot see if the result is good enough.
You can do this by adding a Button and adding the following line of Code in the onClick Event, or opening the development tools of your browser and typing it there directly:

window.print();

You can also hide parts of the interface, like the banner on top, or the print button itself, with JavaScript if you prefer a cleaner result.

Furthermore to give a bit more context to the printing feature:

  • The Print button of a record is only available if there is submitted data. e.g. not in the draft/start stage.
  • When pressing the print button a new Tab is opened (at least for me, not sure if this is my browser config or always the case), containing the data stored in the Domino database for the current record UID. The link to the print page is as follows:
    /volt-apps/secure/1/app/[AppID]/print/index.html?form=[FormId]&id=[RecordId]&tzID=[…]
    Thus with this link you will always get the currently saved values for the given record. Meaning any changes you make on the opened record are not shown in the print before you submit them.
    So if you open a record, change some values and then press print those changes will not show up.
  • App-Pages have no saved data by design, so a printing of “stored Values for the current page” would make no sense with the current implementation.

So in conclusion:

Try if the browsers own page printing feature is sufficient for your use case, or as @nina suggested, create an enhancemnet request in the Ideas portal.