Use the Launch LOB event action
to open large object (LOB) data from an object of a visual dashboard.
About this task
LOB data is binary data of any type (for example,
PDF files and the content of image files such as .gif or .jpeg files)
that can be stored in a database table.
When run, the
Launch
LOB event action reads LOB values stored in a database
table and performs an action associated with the value. The developer
must specify the LOB
data type in order for the application
to launch the appropriate program and display the data.
Note: The Launch
LOB event action can be applied to only those objects
that are contained in the data template.
To add a Launch
LOB event action, perform the following steps:
Procedure
- Select the object in the editor window and double-click
the event that will trigger the jump from the Events view.
The [objectname] Behavior window
opens.
- Click the Add New Action icon.
The Add New Action window opens.
- Select Launch LOB in
the actions tree.
Note: To quickly find the required event
action, type the name of the action in the filter text field.
- Click Next. A window requesting
the parameters for the Launch LOB event action
opens.
- Select Data from the drop-down
list or type the necessary expression.
Note: The result
of the expression must be the name of the column containing LOB data.
Select
Data from the drop-down list or type the necessary expression. The
result of the expression must be the name of the column containing
LOB data.
- Specify the data type by typing the necessary expression.
- Click Finish.
The Add
New Action window closes.
- From the [objectname] Behavior window,
click Apply to apply all actions that you have
added for the event.
- Click OK to close the [objectname]
Behavior window.
Results
You have added a Launch LOB event action.When the event
action defined occurs, query cache in the target component is invalidated
and the valid results will display in the component the next time
it is refreshed.
When the visual dashboard runs you can open
the LOB data by applying the specified event to the object that handles
this action. In QMF for
Workstation, the data opens in the associated system application.
In QMF for WebSphere®,
the data opens in the web browser.