Support Article
Drop down values are not populated in the PDF when printed
SA-15943
Summary
By using the print functionality , user saved the work Item as PDF . After download , Dynamic drop down values are not populated in PDF
Error Messages
NA
Steps to Reproduce
Use OOTB print button to print a harness to PDF which shows drop downs confirmed as dynamic select
Root Cause
Dynamic select control loads the data slower than the print takes to complete,
Resolution
Don't use Dynamic Selects in the print Harness.
Or
Delay the harness_print file to ensure that the dynamic select data is loaded before printing.
Add delay by replacing the window.print in the harness_print script with the below code,
setTimeout( function(){window.print();},2000 );
The above code will introduce a 2 second delay before print the document.
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.