How can a user run a report?
Posted: Mon Mar 24, 2014 8:40 pm
I am wanting to add a button to a form...When clicked, then a pdf report is created.
PHP Code=de_contact_php
Report Code= de_contact_rpt
When I go to the Form Properties --> Extra Action Buttons
Title = Contact Report
Display Condition= SELECT '1'
Javascript to Run=nuRunPDF('de_contact_rpt');
When I click "Save" button, then the "Title", "Display", and "Javascript to Run" values disappears and no button is created on my form.
so basically what I'm asking is... What is the preferred way for a user (not globeadmin) to generate a report? I can create the report by logging in as globeadmin and going to "Run Report" ...but a user doesn't have a "Run Report" button or is there an option somewhere to show "Run Report"
I have watched the nuBuilder videos, but it doesn't show how to run report from Extra Action Button.
Documentation reads:
Reports created in this section can be used by running a Javascript function called nuRunPDF() and passing the Code of this Report record as a parameter eg nuRunPDF('001');
I must be confused on where to call nuRunPDF() JavaScript function.
Thanks!
PHP Code=de_contact_php
Report Code= de_contact_rpt
When I go to the Form Properties --> Extra Action Buttons
Title = Contact Report
Display Condition= SELECT '1'
Javascript to Run=nuRunPDF('de_contact_rpt');
When I click "Save" button, then the "Title", "Display", and "Javascript to Run" values disappears and no button is created on my form.
so basically what I'm asking is... What is the preferred way for a user (not globeadmin) to generate a report? I can create the report by logging in as globeadmin and going to "Run Report" ...but a user doesn't have a "Run Report" button or is there an option somewhere to show "Run Report"
I have watched the nuBuilder videos, but it doesn't show how to run report from Extra Action Button.
Documentation reads:
Reports created in this section can be used by running a Javascript function called nuRunPDF() and passing the Code of this Report record as a parameter eg nuRunPDF('001');
I must be confused on where to call nuRunPDF() JavaScript function.
Thanks!