top of page

Tech Tips

Line background 14_edited.jpg

Print Reports from Anywhere in EAM

  • Writer: Lindsay O'Connell
    Lindsay O'Connell
  • Aug 8, 2024
  • 1 min read

Updated: May 29

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. 

ree

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. 

ree

Get Tech Tips to your inbox

bottom of page