Question about Print PDF action

Hi there,

I noticed the print PDF action. Nice feature, but I was wondering how Ik kan hide certain elements from the print selection. For example the Main Side Nav.

For example: I click on a invoice record that opens a modal with the styled Invoice. When I click Print, Only the Invoice content is printed and fits the size of the page (A4).

1 Like

I had the same issue and I created a variable such as “print pdf mode” with value true, and based on this condition, I hide the unecessary elements.
In workflow when the user click on the print pdf button:

  1. It sets the variable to true,
  2. I added delay time to 2000ms
  3. print pdf action
  4. I added another delay time can be 200ms
  5. Reset the variable to false.

this approach works for me

1 Like