Application

Members

(readonly) locale :String

The current product locale

Type:
  • String

Methods

clearParameterValues()

Clears all parameter values.

Example
oPage.application.clearParameterValues();

close(bAskToSaveFirstopt)

Close the application.

Parameters:
NameTypeAttributesDefaultDescription
bAskToSaveFirstBoolean<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

Close the application after asking to save any changes to the report

oPage.application.close( true );

Close the application immediatley without asking to save any changes

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

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