Insert Link dialog
This dialog appears when you right-click an object, click Link on the shortcut menu. It helps you to link the object to a report, a location specified by a URL, or e-mail address as required.
Conditional Link
Specifies whether it is a conditional link. If checked, the object can be linked to different targets based on different conditions.
Adds a new condition in the Edit Conditions dialog.
Edits the selected condition.
Removes the selected condition.
Moves the selected condition one step up.
Moves the selected condition one step down.
- Others
If checked, you can define to which target the object will be linked when none of the conditions you have specified is met.
Link Type
Specifies the type of the link target for the object if it is not a conditional link or for the object under the selected condition if it is a conditional link. It can be one of the following:
Advanced
Displays the advanced setting. Available to the Report link type only.
OK
Applies the settings and closes the dialog.
Cancel
Cancels the changes and exits the dialog.
Help
Displays this help document.
Link to Report
It helps you to link a specified object to a report. See the dialog.
Report
Specifies the target linked report. Click the Browse button to select the desired report in the Select a Report dialog.
Target
Specifies the window or frame in which to load the linked report.
- New Window
Loads the linked file into a new window. This window is not named.
- Parent Frame
Loads the linked file into the parent frame of the frame that contains the link.
- Same Frame
Loads the linked file into the same frame as the link.
- Whole Window
Loads the linked file into the full browser window.
- <Server Setting>
Loads the linked file according to setting of the Pop Up New Window for Links option in the Customize Profile panel of the Profile dialog in JReport Server.
- Other Frame
Loads the linked file into some other specified frame. If the frame name does not exist, the linked file will be loaded into a new window.
Conditions tab
Specifies the link conditions between the primary report and the linked report.
- Components
Specifies the components in the linked report that will be interlinked with the primary report.
Adds a component in the linked report to be interlinked with the primary report.
Removes the selected component.
- Default Linked Component
Specifies the default linked component in the linked report. The setting is applied when the primary report runs in HTML, PDF or Excel format, or in Web Report Studio.
- Field Conditions
Specifies the link conditions between the primary report and the target linked report.
Adds a new condition line to set up link between the linked report and the primary report.
Removes the selected condition line.
- Fields(Primary)
Lists the selected fields of the primary report.
- OP
Specifies the operator to set up links between the primary report and linked report. It can be =, <>, <, >, <=, >= or IN.
- Fields(LinkedReport)
Lists the fields in the datasets of the linked report which are of the same data as the selected fields in the primary report.
Parameters tab
This tab is available when the linked report uses parameters. It helps you to assign values to the parameters of the linked report automatically.
- Target Report Parameters
Assigns values to the parameters of the target linked report.
- Parameters
Lists all parameters contained in the target linked report.
- Value
Lists all the DBFields, formulas, summaries and parameters in the primary report which are of the same data type as the parameters of the target linked report.
Link to URL
It helps you to link a specified object to a location specified by a URL. See the dialog.
Hyperlink
Specifies the URL for the hyperlink that is to be used to link the object. Fields can work in the hyperlink only when they are inserted via the Add Dynamic Field option.
Target
Specifies the window or frame in which to load the location specified by the URL.
- New Window
Loads the linked file into a new window. This window is not named.
- Parent Frame
Loads the linked file into the parent frame of the frame that contains the link.
- Same Frame
Loads the linked file into the same frame as the link.
- Whole Window
Loads the linked file into the full browser window.
- <Server Setting>
Loads the linked file according to setting of the Pop Up New Window for Links option in the Customize Profile panel of the Profile dialog in JReport Server.
- Other Frame
Loads the linked file into some other specified frame. If the frame name does not exist, the linked file will be loaded into a new window.
Link to E-mail
It helps you to link the specified object to an e-mail address. See the dialog.
Hyperlink
Specifies the e-mail address that the object will be linked to. Then after you click the trigger object, an e-mail will be popped with the information specified in the Hyperlink box. You can then further customize the e-mail and send it.
Enter the e-mail address in the Hyperlink box using the syntax sAddress[sHeaders]
. The following are details about the syntax:
- sAddress
One or more valid e-mail addresses separated by a semicolon. You must use Internet-safe characters, such as %20 for the space character.
- sHeaders
Optional. One or more name-value pairs. The first pair should be prefixed by a "?" and any additional pairs should be prefixed by a "&". The name can be one of the following strings:
- CC
Addresses to be included in the "cc" (carbon copy) section of the message.
- BCC
Addresses to be included in the "bcc" (blind carbon copy) section of the message.
- subject
Text to appear in the subject line of the message.
- body
Text to appear in the body of the message.
Hyperlink examples:
Note: Fields can work in the hyperlink only when they are inserted via the Add Dynamic Field option.
Add Dynamic Field
Opens the Select Field dialog to insert a field into the e-mail address.
Related topics: