Support Article
On export of a section, a column does not export
SA-15991
Summary
Activity, HTMLTOPDF is used to export a section to PDF. Section is exported but one column's values are missing in PDF.
Section is referring a report definition in repeating grid. Column for which values are not exported is a part of JOIN condition in Report definition.
Error Messages
Not Applicable
Steps to Reproduce
1. Create a report definition with a join condition and one column of report definition pointing to the property used in join.
2. Use the RD in a repeating grid source.
3. Create a button with HTMLTOPDF activity to export the section in PDF format.
4. Observe that column with the property used in join condition is empty in excel sheet.
Root Cause
A software use or operation error. User was using section rule as parameter in activity HtmlToPDF for Stream name but it should have a reference to HTML rule instead of section rule.
Resolution
Perform the following local-change:
Create a HTML rule and use " <pega:include name="SectionName..." type="Rule-HTML-Section" /> to include the section containing the grid to export.
Then use the HTML rule name as parameter to export PDF activity.
Published January 31, 2016 - 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.