Accessing the Report/Project in the HTML5 Client

  • Last update:September 08, 2025
  • Overview

    Version

    Report Server VersionApp VersionHTML5 Mobile Display Plugin Version

    11.0

    11.0

    V11.0

    Application Scenario

    After setting the mobile homepage or directories on the decision-making platform, you can view the entire report system on mobile terminals.

    You can preview individual templates created in the FineReport designer on mobile browsers or other HTML5 clients.

    You can configure your server in an HTML5 client, for example, a mobile browser, to view the entire report project.

    Function Description

    After installing the HTML5 Mobile Display plugin, you can:

    View the templates, directories, and homepage effects of report projects via URLs in HTML5 clients.

    View the effect of a single report in an HTML5 client by scanning the QR code of the report URL.

    PC-Side Configuration

    Plugin Installation

    You need to install the HTML5 Mobile Display plugin to view report projects in HTML5 clients.

    You can obtain the plugin at https://market.fanruan.com/plugin/8bc0fc35-8403-4fbf-afe5-526bb2452932.

    For details about installing the plugin in the designer, see Designer Plugin Management.

    For details about installing the plugin on the server, see Server Plugin Management.

    Network Environment Preparation

    You need to ensure that the PC and mobile device are on the same network. The following two methods are available:

    1. Connect the PC to the hotspot created by the mobile phone.

    2. Connect the PC and mobile device to the same Wi-Fi network.

    iconNote:

    1. To ensure that the IP address of the PC is switched to that of the wireless network, unplug the Ethernet cable.

    2. To access the project in different networks, you need to configure the proxy server. For details, see Proxy Server Configuration.

    Account and Password Configuration

    To view templates on mobile terminals, you need an account and the password to access the decision-making platform. For details, see Introduction to the Decision-making Platform.

    Upon successful initialization, you will have a valid account to access the decision-making platform. This document takes the built-in user Alice (username/password: Alice/123456) as an example.

    Homepage and Directory Configuration

    You (the admin) can configure the mobile homepage and directories on the decision-making platform. If not configured, the homepage and directory will not be displayed. For details about the configuration method, see Homepage Management and Directory Management.

    You (the admin) need to assign the View permission on the directory to users who require access to templates in that directory, or they cannot view the templates. For permission assignment, see View Permission on the Directory.

     Accessing the Project in the HTML5 Client

    You can view the effects of templates, directories, and the homepage in HTML5 clients via the corresponding URLs. The following table lists the URLs. 

    Page
    URL

    Directory and homepage

    http://IP address:Port number/webroot/decision

    General report

    http://IP address:Port number/webroot/decision/view/report?viewlet=xxx.cpt

    FRM report

    http://IP address:Port number/webroot/decision/view/form?viewlet=xxx.frm

    FVS visualization dashboard of V1.17.0 and later versions

    http://IP address:Port number/webroot/decision/view/duchamp?viewlet=xxx.fvs

    If you want to disable the HTML5 effect when accessing the above URLs, you can suffix the backend parameter force_web=true to the URLs, as shown in the following examples.

    iconNote: 
    The backend parameter can only be suffixed to a URL, not defined as a template parameter in the designer.
    • http://IP address:Port number/webroot/decision?force_web=true

    • http://IP address:Port number/webroot/decision/view/report?viewlet=xxx.cpt&force_web=true

     Viewing a Template in an HTML5 Client

    Before viewing templates in HTML5 clients, you need to ensure that you have completed the configurations in the "PC-Side Configuration" section.

    iconNote: 

    Before viewing templates in HTML5 clients, you need to ensure that you have completed the configurations in the "PC-Side Configuration" section.

    1. Open the built-in template Detail Report_mobile.cpt in the path /demo/Phone/Mobile Report

    Click Mobile Preview, as shown in the following figure.

    4.1-1.jpg

    2. The following page will be displayed in the PC browser after the click.

    iconNote:
    To preview FVS visualization dashboards, click the Snipaste_2025-08-21_15-06-58.jpg icon in the upper right corner and then click Preview.

    4.1-2.jpg

    AttributeNote

    Detail Report_mobile

    Report name

    Type

    Report preview type, which is categorized into Preview and Data Entry

    iconNote: 
    You can only set Type to Data Entry for general reports.

    QR Code

    QR code for the report access link, which can be recognized by DataAnalyst and third-party browsers to access the template

    Copy Link

    Report URL. If the IP address in the current URL is localhost, the IP address of the current network will be automatically obtained to fill the report URL. A prompt is displayed under the URL at the same time, saying "Ensure that mobile terminals are on the same network as the current PC."


    Scanning the QR Code Using an HTML5 Client

    Open a mobile browser and scan the QR code to view the template, as shown in the following figure.

    iconNote:
    For iPhone users, the default browser Safari does not support QR code scanning. You can use Camera instead to scan the QR code and click the link that appears after the code is read to view the template in Safari.

    4.2.gif

    JS APIs and Plugins Supported by the HTML5 Client

    The JS APIs and plugins supported are slightly different when you view reports in an HTML5 client and in FineReport on the PC. For details, see the links listed in the following table.

    ItemDescriptionDocument

    JS

    JS APIs for HTML5 Clients

    JS APIs for mobile terminals

    Plugin

    List of plugins supported by mobile terminals

    List of plugins supported by mobile terminals

    Notes

    Problem description:

    After you scan the QR code to preview the template on a mobile terminal, a prompt saying "Server Connection Failed" is displayed, or the webpage fails to load, as shown in the following figure.

    6.jpg

    Unconfigured Network Environment

    Cause: The mobile terminal and the PC are not on the same network.

    Solution: For details, see the "Network Environment Preparation" section.

    IP Address Identification Error

    Cause: The computer might have been connected to multiple networks within a short period, causing the IP address in the QR code URL to be mismatched with the actual IP address of the network to which the mobile device is connected.

    Solution:

    1. Input the command ipconfig /all in the Command Prompt window and press Enter.

    You can view the actual IP address of the local computer, as shown in the following figure.

    2. Compare the IPv4 address to the IP address in the report URL to see if they are the same, as shown in the following figure.

    6.2-2.jpg

    3. If not, modify localhost in the webpage URL to the correct IP address, press Enter to regenerate the QR code, and scan the new QR code using a mobile device to preview the template.

    6.2-3.jpg

    Firewall Protection

    Cause: If you have confirmed that the operations were performed according to the document and the application configuration meets the requirements, the error may be caused by the Windows Firewall.

    Solution: Disable Windows Firewall directly and proceed to preview templates on the mobile terminal. Alternatively, you can open the blocked port by configuring Windows Firewall according to the following steps.

    1. Choose Windows Security > Firewall & Network Protection > Advanced settings > Inbound Rules > New Rule.

     6.3-1.jpg

    2. Set Rule Type to Port and Protocol and Ports to TCP and Specific local ports, enter 8075 in the text box, and save the settings, as shown in the following figure.

    Weixin Image_2025-08-25_161956_330.png

    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