Hyperlink - Web Report

  • Last update:May 08, 2025
  • Overview

    Application Scenario

    You can drill down to other reports under this project by clicking the hyperlink, as shown in the following figure.

    4.gif

    Function Description

    Method to add a linked report: opening the report project directory and selecting a template.

    Three built-in ways to open links: New Window, Dialogue Box, and Current Window.

    You can pass parameters using hyperlinks. For details, see Hyperlink Parameter Passing. 

    222.png

    Example

    Two reports Order Overview Table and Order Detail Table are created in the example, and you can view the detailed information of an order ID in Order Detail Table by clicking the order ID in Order Overview Table.

     

    Creating the Order Detail Table

    1. Create a dataset ds1 with the SQL statement SELECT * FROM OrderDetails_new WHERE "Order ID"='${OrderID}'.

    iconNote: 
    The parameter OrderID in the SQL statement will be used in parameter passing by hyperlink to display the corresponding detailed information by clicking the order ID.

    2. Design the table of the order detail table, and drag the fields in the dataset into the corresponding cells, as shown in the following figure.

     1.png

    3. Save the report to %FR_HOME%\webapps\webroot\WEB-INF\reportlets\doc-EN\SpecialSubject\HyplinkReport.

    Creating the Order Overview Table

    1. Create a dataset ds1 with the SQL query statement SELECT * FROM Orders.

    2. Design the table of the order overview table, and drag the fields in the dataset into the corresponding cells, as shown in the following figure.

    Select cell C2, modify the format to Date, and select yyyy-MM-dd in Cell Element.

    Select cell D2, modify the format to Number, and select #0.00 in Cell Element.

     3.png

    Hyperlink Adding

    Select cell A2 where the field Order ID is located, click the Hyperlink icon on the right attribute panel, add a Web Report hyperlink, and configure the hyperlink as shown in the following:

    Web Report: click Select, and add the path of the order detail table from the directory.

    Link Opened In: select Dialogue Box, after which you can open the order detail table in a dialogue box by clicking the hyperlink.

    Add a parameter OrderID and enter the formula =$$$ as the value. The parameter name should be the same as that in the order detail table, and $$$ indicates that the parameter value is the current cell. Then, you can pass any ID to the order detail table by clicking the order ID.

     2.png

    Effect Display

    Save the template and click Pagination Preview. The effect is shown in section "Application Scenario."

    The template can be previewed on the DataAnalyst and HTML5 apps.

    Template Download

    For details, you can download the templates:

    Order Overview Table.cpt

    Order Detail Table.cpt

     

    Notes

    Linking to the Data Entry Template

    If you want to open the linked data entry template in the data entry preview mode, you can add the parameter &op=write to the end of the report path, as shown in the following figure.

     5.png

    Opening Hyperlinks in the Platform

    If you want to open the template mounted to the decision-making platform in the current tab or a new tab within the platform by clicking the hyperlink, you can install the Tab Opening Within Platform plugin to achieve the effect. After you install the plugin, two more opening methods are added in the Link Opened In setting, as shown in the following figure.

     6.png

     

    Attachment List


    Theme: Report Features
    • 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