Jumping to a FineReport Template

  • Last update:  2023-11-20
  • Overview

    Application Scenario

    FineBI allows you to jump to a FineReport template by clicking a component.

     传参.gif

    Function Description

    You can set the jump to a report template with or without passing parameters. If the target report template does not have any parameters, the jump cannot be set with passing parameter.

    Jump Without Passing Parameters

    Obtaining the Report Template Link

    Two methods are available. This section takes the method two as an example.

    • Method one: Directly obtain the preview link of the report template.

    The disadvantage is that you may need to log in to FineReport when jumping from a FineBI component to a report template.

    • Method two: Place the report template in the FineBI project, then obtain the relative path of the preview link.

    You need to connect the database and data tables used by the report template in FineBI, otherwise the preview will fail. The advantage is that you can view the built-in template in FineBI without logging in to FineReport after the jump.

    1. Download the CPT template: Automatic Query.cpt

    2. Place the downloaded template in the reportlets folder in the \webapps\webroot\WEB-INF path.

     

    3. Add the template to the FineBI directory.

     

     

    4. Preview the template in FineBI and copy its preview link.

     

    Setting Jump

    1. Find the built-in Multi Angle Sales Analysis dashboard in FineBI.

     

    2. Set jump for the Which Region Sells the Best component within the dashboard.

     

    3. Click +, click Web Link, and paste the preview link of the report template.

     

    If the target report template is placed in FineBI, you are advised to enter the relative preview path.

    • Specifically, remove the IP address and port number before the webroot folder. Example: /webroot/decision/v10/entry/access/889c14a8-f11e-462a-b46b-c021f8564f8f?preview=true

    • For the BI project that can be accessed directly through IP on Tomcat, remove the content before the decision folder. Example: 

      /decision/v10/entry/access/889c14a8-f11e-462a-b46b-c021f8564f8f?preview=true

    If the target report template is not placed in FineBI, simply enter the complete preview path.

    iconNote:
    For details about setting the open position of the target template after the jump, see section "Setting a Jump Window" in Component Jump Introduction.

    Demonstration

    Click the non-blank area of the Which Region Sells the Best component and click Jump to Web Link to jump to the Automatic Query report template, as shown in the following figure.

    After you click North China and jump to the CPT template, no parameters are passed. For details about jump with passing parameters, see section "Jump with Passing Parameters."

     预览.gif

    Jump with Passing Parameters

    The Automatic Query template contains the Region parameter. For details about setting parameters in a report, see Template Parameter.

    Procedure

    Based on the example in section "Jump Without Passing Parameters", modify the jump setting of the Which Region Sells the Best component by adding &parameter=field value after the original link.

    Therefore, in this example, add the &Region=Region suffix.

     

    iconNote:
    For details about setting the open position of the target template after the jump, see section "Setting a Jump Window" in Component Jump Introduction.

    Demonstration

    After you click North China and jump to the CPT template, the template parameter receives the North China value and automatically fills it into the text widget. Click Query to view the corresponding data.

     传参.gif

     


    附件列表


    主题: Creating a Dashboard
    • 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