Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Grey line displays in header section after downloading PDF



While generating a letter using the pyAttachasPDF activity, the PDF is generated with a gray line between the header content and the body.

Error Messages

Not Applicable

Steps to Reproduce

Generate a PDF using the out-of-the-box pyAttachasPDF activity.

Root Cause

An issue in the custom harness CSS styles.


Perform the following local-change:

Add the below CSS code in the UserWorkForm:

    div[node_name="REPEAT"]:nth-of-type(1) {
    margin-top: -10px !important;
  border: 10px solid #FFF !important;

Suggest Edit

Published August 15, 2019 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us