Members
(readonly) locale :String
The current product locale
Type:
- String
- Since
Methods
clearParameterValues()
Clears all parameter values.
Example
oPage.application.clearParameterValues();
close(bAskToSaveFirstopt)
Close the application.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
bAskToSaveFirst | Boolean | <optional> | true | If true, the application will close after asking to save any changes to the report. If false, the application will close immediatley without asking to save any changes. |
Examples
oPage.application.close( true );
oPage.application.close( false );
f_closeCurrentPerspectiveImmediately()
Close the current perspective and return a promise that can be used to perform an action after the close
isSavedOutput() → {Boolean}
Query if the control is currently being rendered in a saved output report
- Since
Returns:
- Type:
- Boolean
Example
const v_bIsSavedOutput = oControlHost.page.application.isSavedOutput();
if (!v_bIsSavedOutput)
{
oControlHost.next();
}
refresh()
Refresh the report
resetParametersValues()
Reset the parameters to their initial values.
Example
oPage.application.resetParametersValues();
run()
Run the report