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

Export to Excel does not work with multiline cells as expected

SA-28036

Summary



When exporting a report definition to Excel multi-line cells are placed in multiple rows.

Multi-line means strings with newline <br> elements embedded in them.

An example:




In this example a cell containing value "Hotmail<br> - MSN<br> - MS<br> Live" is placed in rows 9 through 12.
In the correctly exported spreadsheet it would be placed in row 6
:



Error Messages



Not Applicable


Steps to Reproduce



1. Create and run report definition that has multiline values - strings with newline element <br> embedded in them.
2. Run the report.
3. Export result to Excel sheet.


Root Cause



In order for Excel to place multiline cells in one row, the exported from the server HTML string must have "br {mso-data-placement:same-cell;};" formatting style present, e.g.

Resolution



Apply HFix-29492.
 

Published September 21, 2016 - 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