Related with print functionality in pega

Hello,

After click on print button on case manager portal it is providing only few fields to print which is part of PrintView Harness.

I want to print whole screen which contains all work Object screen after click on print button.

So can you help me how to modify as per my requirement. I provided Screenshots for reference.

Thanks and Regards,

Aditya Chougule.

@AdityaC8

Could you try copying the PrintView harness to the case work class and update the harness by including the sections accordingly.

@SanthoshRanga

Thanks santosh for your answer.

I tried the way which you suggested me. It is working fine in my personal edition but in enterprise edition it is showing

a blank pop-up window. I added right section in a harness.

Providing Screenshot of the pop-up which I getting.

Thanks and Regards,

Aditya Chougule.

NOTE to help other people while implementing this functionality:

  1. While doing save as for “PrintView” Harness in any other class change the script as “harness_print” in the the

scripts & styles tab. Other wise it will throw an error while saving.

  1. After that you need to take a section layout.

  2. In that section layout you need to add section by using embedded section option. Like that only it will work.

@AdityaC8

Could you check the configuration of print local action in enterprise edition. On what page is the harness getting loaded and if the page is available ?

@SanthoshRanga

Hello Santosh,

I got a solution for this issue.

I am sharing a link of this solution so it will help to other people also.

How do you print preview the current screen without altering PrintView Harness? | Support Center

Thank you so much @SanthoshRanga for all your guidance in the whole process.

Thanks and Regards,

Aditya Chougule.