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

Subject line data overridden on editing content in editable PDF

SA-86185

Summary



A section is configured with multiple containers (layouts) powered by Correspondence rules (invoked within labels).This is converted to a PDF which is editable.
When editing content in the editable PDF, the following issues occur:
  • When copying and pasting data from one container to another, data along with styling is overridden to the destination instead of appending.
  • The Subject line data is overridden when data is appended to it.





Error Messages



Not Applicable


Steps to Reproduce

  1. Create a button.
  2. Configure a modal dialog to launch on click of the button. The modal dialog section includes multiple dynamic layouts which contain the Correspondence rules.


Root Cause



An issue in the custom application code or rules.

The Subject Correspondence rule was customized as a table, 'RE:' was included in one of the tables 'td div', and the Subject in another 'td div'.
The added Subject line was enclosed in a Paragraph element. When additional data was included in the Subject line at runtime, the Subject line DIV was replaced with new data instead data being appended to it. This occurred because the DIV did not have sufficient space to accommodate the copied data. That is, the actual data was overridden.


Resolution



Perform the following local-change:

In the Subject line Correspondence rule, add ' ' after the Paragraph DIV of the Subject line:

<table>
    <tr>
<td>
    <i>RE:</i
</td>
<td>
<p>
<span style="font-family:Italic;">
<b>Subject of the Mail in the Bold and Italic</b>
</span>
</p>&nbsp;
</td>
    </tr>
</table>

Published 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