How do you print preview the current screen without altering PrintView Harness?
Hello Pega Community,
We have a requirement to print preview the screen that the user is currently viewing using a button/link. This button/link will be visible within a case in our footer of the case. The cases we want to print out of have multiple stages and within each stage, there can be multiple processes. It should grab the header, stage information, case information, and footer of each case. I was attempting to alter the PrintView harness, but I ran into errors where it would not grab the current tab that I was viewing, it would always grab the first tab. For example, if I was within the CaptureDetails stage which has Details and Approvers processes within it, if I am viewing the Approvers tab, it will still print preview the Details tab as that is first in our CaseActionArea.
Was wondering if there was an implementation to be able to print the full case information that the user is currently viewing. If there is a way to configure the PrintView harness to show exactly what the user is seeing, that would be great. If there is another way to print preview the current screen (ideally whatever the user is viewing on their webpage like how a web browser's print preview works) I would love to try to implement that as well.