[General] Logging out of the System by JS

  • Last update:April 28, 2025
  • Overview

    Version

    Report Serverr Version APP VersionHTML5 Mobile Display Plugin Version  Functional Change
    11.0 V 11.0 V 11.0 -
    11.0.26 V11.0.91 V11.0.91Supported 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();

    iconNote:

     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.

     通用1.png

    Effect Display

    APP

    The following figure shows the preview effect on the DataAnalyst app.

     通用2.gif

    HTML5

    The following figure shows the preview effect on the HTML5 terminal.

     通用2.gif


    Attachment List


    Theme: Fine Mobile
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy