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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.