I have a button (see screen shot.docx) on a grid of scheduled jobs and when I click on the button of a particular row, I want to bring up a spool file of the job...
Announcement
Collapse
No announcement yet.
Using the new spool file viewer popup on a grid
Collapse
X
-
We'll be doing a Developer Diaries and maybe a Tip-of-the-Month write-up on this new feature soon, but here's something to get you pointed in the right direction...
There are five elements needed to display a spool file, all of which must be included as separate columns in the data source for your grid:- The spool file name
- The spool file number
- The job number
- The job user
- The job name
Next, create five app variables to hold these spool file elements (i.e., splFileName, splFileNumber, jobNumber, jobUser, jobName).
With those app variable in place, you can now add a pop-up spool file viewer to your desired section by doing the following steps:- Click Add Widget
- Hit the Utility Widgets button in the upper right
- Click on Spool File Viewer
- In the prompt window, give this widget a name, fill in the five app variables in the appropriate spots, click the "Add as Popup" checkbox, then hit OK.
- Set the five app variables, pulling the appropriate columns from your grid's data source
- Show the Spool File Viewer popup utility widget you created
You will likely want to expand the width of the popup so users can see the spool file without having to scroll horizontally.Last edited by robert.swanson; 12-21-2022, 05:38 PM.
Comment