Question8Replies374Views GAURAVKUMARK Member since 2013 3 posts Wipro Posted: 2 years agoLast activity: 2 years 1 month ago Closed Generate PDF automatically through Harness as a InputHi All,Could you please let me know if there is any possible way to generate PDF automatically and store it in service export directory through harness as a Input.I know there is couple of OOTB activity which we can use but they all are related to Section,HTML rule as an Input where as i need for harness.if there is nay OOTB functionality, please do let me know.Thanks in advance. User Interface ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Moderation Team has archived post This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question. Posted: 2 years agoguzzk PEGA replied to GAURAVKUMARKHi, The OOTB activities either accept section or htmlstream as input, but still there is a way to pass harness as input. In a non auto-generated section, include harness using below code. <pega:include name="Testharness" type="Rule-HTML-Harness"/> Posted: 2 years agoGAURAVKUMARK Wipro replied to guzzkHi guzzk, i have tried this option and when i am doing it harness is opening as a new window not as PDF. also harness will be not called in HTML rule, i am getting the error. Posted: 2 years agoRaveendra Incessant technologies pvt ltd replied to GAURAVKUMARKBelow link might help you https://community1.pega.com/community/product-support/question/generate… Posted: 2 years agoGAURAVKUMARK Wipro replied to RaveendraHi Raveendra, Thanks for sharing the details. but this option is for Section and not helpful in case of Harness. actually harness has been created in older version of pega and upgrading the sections is not possible. i am looking for options, to generate PDF from Harness. Thanks again Posted: 2 years agoGayatri incessant replied to GAURAVKUMARKcan you try using Window.print(). Posted: 2 years agoGAURAVKUMARK Wipro replied to Gayatrihi Gayatri, thanks for the details, actually i don't want to print the document. i want to generate PDF from Harness directly. Posted: 2 years agoGayatri incessant replied to GAURAVKUMARKokay , will check and revert back to you. Posted: 2 years agoNaveen_Naanu PEGA replied to GAURAVKUMARKHello Gaurav, My first question going through the long way of communication on PSC. Are you able to generate PDF? can you share your activity screenshots of how you are doing? First will work on generating the PDF later we can work on saving the generated pdf in the service directory, Hope this make sense.