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

PDF generated does not contain borders for the layouts

SA-79313

Summary



Borders do not display in the generated PDF for the layouts.


Error Messages



Not Applicable


Steps to Reproduce

  1. In the flow, configure a createPdf smartshape and pass a section.
  2. In the section, use layouts with border format. The PDF generated does not contain borders.


Root Cause



Skin level CSS was not fetched at runtime.


Resolution



Perform the following local-change:
  1. Create a non-auto section and add the following code in the HTML tab.

    <style>
    .layout-outline-default__with_border, .layout-fieldset-default__with_border, .layout-noheader-default__with_border {
        border-left: 1px solid #000000;
        border-top: 1px solid #000000; 
        border-right: 1px solid #000000;
        border-bottom: 1px solid #000000;
        background-image: none;
        background-color: #FFF;
        padding: 0;
        }

    </style>

  2. Embed the non-auto section to the main section.

Published August 15, 2019 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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