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

Images render on referring Correspondence rule outside table



Images render when user refers images inside a table on a Word template and refers the same correspondence rule outside the table on a template file.

Error Messages

Not Applicable

Steps to Reproduce

  1. Refer an image in a non autogenerated section rule using Pegadocument tags
  2. Include the section rule in Correspondence
  3. Include the Correspondence rule in the Word template table


  1. Insert Correspondence in the table (grid) Word template 
    {pega:insert corr=<Testcorr> }

  2. Insert the EmailPreview property for displaying data in the Testcorr Correspondence

  3. Set When rule to true==true in pyProcessCorrImagesInDocument


Adding Correspondence in the grid table is not supported on the platform. However, it must be built with reference to the code available in pzGenerateDocument. 


Perform the following local-changes:
  • Create the template after downloading the file
  • Use the same  MSOffice version to prevent incompatibilities (latest version of MSOffice is recommended)
  • Verify the docx4j version (must be 6.1 or higher)


Published July 18, 2020 - 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