You can create a hyperlink in a reporting fragment that opens the object's task view in a
new browser window.
Procedure
-
In the Query Explorer, complete the following steps.
-
Drag and drop a Data Item into the Data Items
pane.
-
In the Properties pane, under the Data Item
category, double-click the Expression property.
-
Enter the following expression:
'<a href="#"' + ' onclick="' + 'javascript:window.open(' + chr(39) +
[DEFAULT_REL].[SOXRISK].[RI_DETAIL_PAGE_URL] + chr(39) + ')' + '">' +
[DEFAULT_REL].[SOXRISK].[RI_NAME00] + '</a>'
-
Set the Name property to URL Info.
-
Set the Aggregate Function to None.
-
Set the Rollup Aggregate Function to None.
-
Click OK.
-
On the main page of your list report, drag and drop an HTML Item as a
column in your report and complete the following steps.
-
In the Properties pane, under HTML Source, set the
Source Type property to Data Item Value.
-
Set the Data Item Value property to URL
Info.
-
In the Properties pane, under Text Source, set the
Text property to Risk Name.
-
Cut the original Risk Name column from the report.
-
To make RI_DETAIL_PAGE_URL a property of the list, complete the following steps.
-
Select the List object from the main report page.
-
In the Properties pane under the Data category,
double-click Properties.
-
Select
[RI_DETAIL_PAGE_URL].
-
Click OK.
-
Save the report.
-
Ask your system administrator to configure a reporting fragment field for this report.
Results
When the reporting fragment is executed in the IBM OpenPages®, it will appear as a widget in the
view.
When you click the CrossTrack link, it will bring you to the object task view in a
new pop-up window.