5.3.2 Creating a Hyperlink to a Web Page
Walkthrough
You will continue the above example by changing the hyperlinks to target a web page rather than a report. The initial steps (up to and including Step 8) are the same as in the previous example.
Start here from the open 'Hyperlink' dialog box:
1. In the 'Hyperlink' dialog box, click the 'Web Link' radio button.
You can also specify a table column to provide the URL links by selecting the desired column from the 'Link' menu.
2. In the 'Link' field, enter the URL of the hyperlink destination with parameters omitted. For example, if the hyperlink is to pass a value as parameter to the Google search engine, the 'Link' field should specify “http://www.google.com/search”.
3. Optional: Enter a tooltip in the 'Tool Tip' field. (In the example we use “View company information” as the tooltip.)
4. Optional: If you want the target web page to be displayed in a particular browser window, enter the name of the desired window in the 'Target Frame' field. (The specified name becomes the DOM 'name' attribute.) To open the target web page in the User Portal frame, select the 'Self' checkbox.

5. Select the 'Company' field from the 'Value' pane of the 'Hyperlink' dialog box and click the 'Add' button to open the 'Parameter Name' dialog box.
6. Enter 'q' in the 'Name' field of the 'Parameter Name' dialog box, and click 'OK'. This name will be the parameter name used in the URL that is automatically constructed. (The parameter name “q” is the parameter name expected by the Google search engine.)

7. Click 'OK' to complete the hyperlink configuration. The final configuration of the 'Hyperlink' dialog box is shown below.

To display hyperlink underlining by default, set hyperlink.indicator=true in sree.properties.
8. Add any desired visual formatting to the hyperlinks (e.g., underlining).
9. Save the Viewsheet.
The hyperlinks constructed by this configuration will be of the form
http://www.google.com/search?q={CompanyName}
where {CompanyName} is the value of the 'Name' attribute clicked by the user.
| << 5.3.1 Creating a Hyperlink to a Report or Viewsheet | © 1996-2013 InetSoft Technology Corporation (v11.4) | 5.3.3 Passing Multiple Parameters in a Hyperlink >> |