Report Designer Printable Report not working in Automated Actions

s980845
Sponsor
Sponsor
Posts: 215
Joined: 03 Jun 2021, 22:06
Name: Bradley Hayes
Location: USA Palmdale
Company Name: Two-Lifestyles, Inc.
Contact:

Report Designer Printable Report not working in Automated Actions

Post by s980845 »

When adding a report designer printable report to the Print template after the process is completed section in automated actions, running the action does not show the popup window to print the report.
This works for both popup and save pdf options.

Steps to reproduce.
Create printable report in report designer.
Create an automate action that shows a popup window to print the template after process is completed.
Run the process.
The page will refresh, but the popup window to print will not show.

I also put together demo with example of it not working.
https://pdemo.rukovoditel.pro/3.4/index ... mo_id=2403
User avatar
support
Site Admin
Posts: 6231
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Report Designer Printable Report not working in Automated Actions

Post by support »

Found issue. File from archive replace to folder where app is installed. Let me know if it works ok now.
Attachments
report_page_fix.zip
(18.64 KiB) Downloaded 33 times
s980845
Sponsor
Sponsor
Posts: 215
Joined: 03 Jun 2021, 22:06
Name: Bradley Hayes
Location: USA Palmdale
Company Name: Two-Lifestyles, Inc.
Contact:

Re: Report Designer Printable Report not working in Automated Actions

Post by s980845 »

That works!!
Another question, how would we select the date dropdown for the print?
In report designer, there is filters panels option.
We enabled by date and month.
When report is single page, I can see the dropdown.
In printable report, there is no where to select it. Is there a way to select it?

Also, there is reason we don't just use single page.

When using printable report, the name isn't printed on the document.
(See Screenshot)
Screenshot 2023-07-26 at 7.56.23 AM.png
When using single page report, and clicking the print icon instead, it shows the name of the report.
Screenshot 2023-07-26 at 7.57.37 AM.png
Screenshot 2023-07-26 at 7.54.13 AM.png
If there is no way to select the filters for printable reports, can you at least add a toggle to hide the name when printing a single page report?
s980845
Sponsor
Sponsor
Posts: 215
Joined: 03 Jun 2021, 22:06
Name: Bradley Hayes
Location: USA Palmdale
Company Name: Two-Lifestyles, Inc.
Contact:

Re: Report Designer Printable Report not working in Automated Actions

Post by s980845 »

Any updates on this?
User avatar
support
Site Admin
Posts: 6231
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Report Designer Printable Report not working in Automated Actions

Post by support »

printable report - means data is ready to print as it is and that is why no any filters there. Single page can be printed too.
s980845
Sponsor
Sponsor
Posts: 215
Joined: 03 Jun 2021, 22:06
Name: Bradley Hayes
Location: USA Palmdale
Company Name: Two-Lifestyles, Inc.
Contact:

Re: Report Designer Printable Report not working in Automated Actions

Post by s980845 »

Single page is fine and prints, but name of report also shows in header of the printed document.
We need to hide the "Print: Monthly Report" from the page that prints.
Can we hide the name?
Screenshot 2023-08-11 at 8.10.39 AM.png
Screenshot 2023-08-11 at 8.11.54 AM.png
Didou12
Posts: 487
Joined: 14 Jan 2023, 14:53
Name: Louis
Location: Montreal, Canada

Re: Report Designer Printable Report not working in Automated Actions

Post by Didou12 »

You can add a css to hide some code for printing :

Code: Select all

/* PAGE */
.normal-element {
  display: block; /* or inline, inline-block, ... for displaying */
}

/* PRINT */
@media print {
  .normal-element {
    display: none; /* for hiding */
  }
}
Using Rukovoditel since 2022 --- v3.4 (with extension) in French on PHP 8.2
I keep the French translation up to date
I'm trying to help you (+10 years experience in html, css, php, sql, JS/jquery, python)
s980845
Sponsor
Sponsor
Posts: 215
Joined: 03 Jun 2021, 22:06
Name: Bradley Hayes
Location: USA Palmdale
Company Name: Two-Lifestyles, Inc.
Contact:

Re: Report Designer Printable Report not working in Automated Actions

Post by s980845 »

I tried this CSS, but title of Report Designer report still shows on the printed page and the print preview.
Didou12
Posts: 487
Joined: 14 Jan 2023, 14:53
Name: Louis
Location: Montreal, Canada

Re: Report Designer Printable Report not working in Automated Actions

Post by Didou12 »

what is the code you used ? it was just an example
Using Rukovoditel since 2022 --- v3.4 (with extension) in French on PHP 8.2
I keep the French translation up to date
I'm trying to help you (+10 years experience in html, css, php, sql, JS/jquery, python)
Zipfrog2022
Posts: 37
Joined: 13 Jun 2023, 05:25
Name: Mark O
Location: Edison, NJ

Re: Report Designer Printable Report not working in Automated Actions

Post by Zipfrog2022 »

Hi, can you not just unselect headers and footers when you goto print. I find it useful to have the Report Name or Site info listed sometimes however when I don’t want it I just un select the header / footer option in my print options / print dialog.

Just a thought

Thanks
Post Reply