Timed Page Refresh for FVS Templates

  • Last update:November 11, 2024
  • Overview

    This document is applicable to users who have installed the FineVis Data Visualization plugin to learn plugin functions.

    Version

    Report Server Version

    Plugin Version

    Functional Change

    11.0.6

    V1.7.2

    Template Timed Refresh function is added, which allows the entire template to be refreshed at certain intervals during the preview.

    V11.0.16

    V1.18.1

    The entry to Template Timed Refresh is integrated into FVS Template Setting and the function is renamed Timed Refresh.


    Application Scenario

    When demonstrating an FVS template with highly real-time data, you may want to keep the template updated with the latest data. However, it is troublesome and inefficient to set Monitoring Refresh for components one by one. You can refresh the entire template by setting Timed Refresh.

    FVS模板定時刷新-1.2.gif

    iconNote:
    You can view the effect at FanRuan Smart Business Park.

    Function Introduction

    In an FVS template, click Template on the top bar of the designer and select FVS Template Setting. On the pop-up setting page, select Page Refresh.

    • Enable Timed Refresh is deselected by default. You can select the checkbox and set Refresh Interval (six seconds by default; unit: seconds or milliseconds).

    • The minimal refresh interval is one second (1000 ms), with no maximum limit.

    • The refresh applies to all the pages in the template. After the refresh, the pre-refresh page rather than the first page is displayed.

    2024-06-14_11-25-10.png

    iconNote:

    For plugins of versions earlier than V1.7.2, this function can be implemented through the JavaScript codes under Template > Event After Page Load.

    The following content shows the JavaScript codes.

    setInterval(() => {
        duchamp.reload();
      }, 2 * 1000); // The refresh interval is 2000 ms, namely two seconds.

    Note

    If a hyperlink with a dynamic parameter is used in the template (For example, Dynamic Parameter in Hyperlink is added to a cell of a table component), the parameter will be suffixed to the URL when you click the hyperlink with the dynamic parameter during the preview, as shown in the following figures.

    2024-06-14_11-35-23.png

    2024-06-14_11-42-10.png

    Later timed refreshes do not trigger the clearance of the parameter suffixed to the URL. That is to say, the value linked with the dynamic parameter does not change with the timed refresh of the template. 


    Attachment List


    Theme: FineVis Data Visualization
    • Helpful
    • Not helpful
    • Only read

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

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

    不再提示

    7s后關閉

    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