Page 1 of 1

button to launch report

Posted: Tue May 09, 2023 12:51 pm
by johan
Hi

I have created a launch form with the report parameters and a report.
I've added a run button on my home page.
I found this post. viewtopic.php?p=21966&hilit=nuGetReport#p21966
In the run tab I referred to the launch form.
Screenshot 2023-05-09 12.47.06.png
under custom code I placed.

Code: Select all

nuGetReport('6459019454114a4','6458ee6239ab787');
When I run this my form opens, but I am missing the run button.
Screenshot 2023-05-09 12.45.38.png

Any idea what I am doing wrong?

Re: button to launch report

Posted: Tue May 09, 2023 1:26 pm
by kev1n
How about adding a run button?

Code: Select all

nuAddActionButton('runReport', 'Run', 'nuRunReport("rpt_team")');