
Problems:
On any given EAM screen, only one EAM report may be assigned to the toolbar.
While some EAM screens are able to pass the record ID (i.e., Work Order #, Requisition #, PO #, etc) to Cognos when initiating a report print from the toolbar a lot of other screens do not do this despite allowing toolbar report selection.
Solver:
We can use Extensible Framework (javascript) to execute report printing from interactions with items like user-defined buttons and user-defined checkboxes or even other clickable objects on screen.
Two main benefits to this solution:
1. Allows having more than one report per screen.
2. Allows printing reports from screens that otherwise fail to pass record ID information to Cognos.
Caveat:
Report defaults to PDF (no Excel option)
Example 1: Using a UDF Button.
When the button is pressed, Extensible Framework code is activated, and the report preview opens in a new window.

Example 2: Using a checkbox on a User Defined Screen.
The Extensible Framework code will immediately uncheck the box, allowing it to act like a button.

Tech Wheelhouse, LLC
Comentários