Skip to main content

Add Condition Parameters to Page URLs

Requirement Background

Users need to add condition parameters to the end of a Guandata BI URL to generate a new URL. This URL can be used as a hyperlink in an external platform or file. After the link is opened, the filtered report view is displayed directly.

Solution

  1. Enter the dashboard editing page, move the mouse in front of the filter, and three dots appear on the page. Click Three dots > Edit to enter the filter editing page.

  2. Move the mouse to the exclamation mark icon on the right side of the current card. The filter ID appears. Click Copy to the right of Online ID to obtain the filter ID.

  3. Click the browser address bar and append parameters after the page URL in the following format: hosturl/page/pageid?filter_id=value. Example: ?b1b1676e1dd05403cbd22b2f=上海市

  4. To add multiple parameters, connect different parameters with &, without adding a question mark after &. Example: ?kc8075871943e4874932b034=玉米\&ps=iframe2 , where ps=iframe2 means removing the interface border.

  5. If multiple fields are associated with multiple filters, the link format is: hosturl/page/pgid?filter_id1=value1&filter_id2=value2.

    • For a multi-select filter where the associated field selects multiple values, the link format is: hosturl/pageid?filter_id1=value1&filter_id1=value2.
    • For a tree filter:
      • If the filter method is without path, parameter passing is the same as for a normal filter. Enter only the leaf-level field value.
      • If the filter method is with path, the parameter format is page/pageid?filter_id1=["华北","吉林省"]&filter_id2=["华东"].
  6. Filters and other elements support hiding. The ps parameter can be used together with filter parameters. View the list of frontend elements that support hiding

Note

The required symbols ?, &, and = must be half-width symbols, with no spaces.