Successfully!

Error!

Report Block Refresh Plugin

  • Last update:  2023-12-22
  • Overview

    Version

    Report Server Version

    Plugin Version

    11.0

    V1.5.4

    iconNote:
    1. The function is not supported on mobile terminals.

    2. After the marquee interface is used, refresh through the Report Block Refresh plugin is not supported.

    Function Description

    FineReport provides the Report Block Refresh plugin, through which you can directly set the refresh.

    Plugin Introduction

    Plugin Installation

    You can contact our technical support to obtain the plugin.

    For details about how to install plugins in the designer, see Designer Plugin Management.

    For details about how to install plugins on the server, see Server Plugin Management.

    Regular Refresh

    Select a report block, click the ... icon, tick Regular Refresh, and set the refresh interval in the pop-up refresh setting page. 

    Monitoring-based Refresh

    After you tick Monitoring-based Refresh, the system checks the monitored content at regular intervals and refreshes the report block in case of any changes. The monitored content can be the report block cell(s) or other content set through Custom Class.

    Interval: You can set the interval for the monitoring-based refresh.

    Custom Class: You can implement the ExecuteCondition interface through Java to return whether the report block needs to be refreshed. Refresh the report block if true is returned; Do not refresh the report block if false is returned. For details about how to implement the ExecuteCondition interface, see Execution Condition for Task Schedule-Custom Class Judgment. After ticking Monitoring-based Refresh, you need to configure Custom Class. Place the compiled class file in the appropriate location in the %FR_HOME%\webapps\webroot\WEB-INF\classes project path, and configure the path name according to the prompt format on the setting page.

    For example, you can customize a class to monitor the week and refresh on Tuesdays.

     

    Monitoring Area: You can enter a single cell like A1, or multiple cells like C2:C12 as the monitored report block cell(s).

    The following figure demonstrates how to monitor cell A1 with a monitoring frequency of 3 seconds.

     

    A loading icon appears during report block refresh. You can hide the loading icon by referring to JS Hide Loading Icons and Text.

     


    Attachment List


    Theme: Dashboard
    Already the First
    Already the Last
    • Helpful
    • Not helpful
    • Only read

    Doc Feedback