Overview
Version
Report Serverr Version | APP Version | HTML5 Mobile Display Plugin Version | Functional Change |
---|---|---|---|
11.0 | V 11.0 | V 11.0 | - |
11.0.26 | V11.0.91 | V11.0.91 | Supported the APIs for the FineVis Data Visualization plugin of V2.6.0 and later versions. |
Function Description
You can use the logoutApp API anywhere you can enter JS in the report to log out of the decision-making system.
The execution of this JS code on the mobile terminal triggers a logout from the decision-making system and returns to the login page. This JS code does not take effect on PC with no error reports.
You can use the following API in general reports and FRM reports.
FR.logoutApp();
You can use the following API in FVS visualization dashboard.
duchamp.logoutApp();

The FVS visualization dashboard with the API can be previewed on the DataAnalyst app, but cannot be previewed on the HTML5 terminal.
Example
This document takes a general report as an example.
Template Creation
Create a general report, enter the text click to log out of the decision-making system into cell A1.
Click Hyperlink on the right attribute panel, click the
icon, select JavaScript, and enter the following JS code.
Effect Display
APP
The following figure shows the preview effect on the DataAnalyst app.
HTML5
The following figure shows the preview effect on the HTML5 terminal.