The dialog allows you to customize the default parameter values for a report. It is unavailable when both Enable Setting Default Parameter Values For and Enable Hiding Initial Parameter Dialog For the corresponding resource are unchecked in the Profile > Customize Server Preferences > Advanced tab.
To access the dialog, on the JReport Console > Resources page, browse to the target report, then do one of the following:
Parameters
Displays parameters of the report with your last-time saved default values, which could be the values saved in this dialog last time, or in the Enter Parameter Values dialog, or when advanced running or scheduling the report, and for a web report, could also be the values saved in the Parameters panel. Edit the values according to your requirement. You may specify parameter values in these ways.
If you have not yet set the default values on the server, or if you did but your saved default values cannot fully match the current parameters, all the parameters will use their default values specified in the parameters' definition as the initial values.
If no parameter is used in the report, "No Parameter Needed" will be displayed here.
Save as default
Saves current parameter values as the default values for the report. It is a user-report level setting.
This option is an action and it takes effect after you click OK in the dialog. Its initial status is always unselected.
For page reports, this option is enabled when Enable Setting Default Parameter Values For Page Report is checked in the Profile > Customize Server Preferences > Advanced tab.
For web reports, this option is enabled when Enable Setting Default Parameter Values For Web Report is checked in the Profile > Customize Server Preferences > Advanced tab.
Re-enable Parameter Screen
When this option is unselected, the next time the report runs via operation on the console, it will use the last-time saved default parameter values directly without popping up the Enter Parameter Values dialog. However, if the last-time saved default values cannot completely match the report parameters, the dialog will still be displayed. It is a user-report level setting.
You can check it to show the Enter Parameter Values dialog again after it has been hidden.
For page reports, this option is enabled when Enable Hiding Initial Parameter Dialog For Page Report is checked in the Profile > Customize Server Preferences > Advanced tab.
For web reports, this option is enabled when Enable Hiding Initial Parameter Dialog For Web Report is checked in the Profile > Customize Server Preferences > Advanced tab.
OK
Applies the settings and exits the dialog.
Reset
When Save as default is enabled in the dialog, the Reset button contains a text part and a triangle icon. You can choose to reset the values to either of the following by clicking the triangle. If you click the text part of the button directly, the values will be reset to the original default values.
When Save as default is disabled in the dialog, the Reset button contains only the text part. Clicking it will reset the values to the original default values.
Cancel
Closes the dialog and discards any changes.
Help
Displays the help document about this feature.
Note: If you just edit the parameter values in the dialog and click OK, the new values will be meaningless. Only when you check Save as default and click OK, can the values be saved as default values to the report.