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

Link issue while generating PDF output from Pega

SA-37586

Summary



A PDF is generated using the HTML stream, where a section is embedded.

The embedded section contains a Link control. Open URL in new window action is configured on on-click event.

User observed that in the generated PDF, the link is not redirecting to the specified URL.


Error Messages



Not Applicable


Steps to Reproduce



1) Create a HTML stream.
2) Embed a section with a Link control. Create on-click event to open URL in new window.
3) Try accessing the link from generated PDF.


Root Cause



PD4ML does not support any actions which are supported by the Pega framework.

Resolution



Perform the following local-change step:

Configure the dynamic layout cell with non auto-generated control.

For example, create a non auto-generated control in below way and use this control in dynamic layout cell:


<%
<a href="complete path including protocol" ></a>
// you can also include all pega reference tags in this script let tag
%>

Published May 17, 2017 - Updated October 8, 2020

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