Issue
When generating a Dynamic Reporting XLSX report as a PDF using the Generate Report option from the report object view, the generated PDF does not display all Excel worksheet columns on a single page as expected.
Product Line
EcoStruxure Building Operation
Environment
- EcoStruxure Building Operation 7.1.2
- Dynamic Reporting
- XLSX reports
- PDF report generation
Cause
This occurs because the standard PDF generation uses its own page size and orientation settings. If the worksheet content exceeds the available page width, the columns are distributed across additional pages rather than being fitted onto a single page.
Resolution
When all columns from an XLSX worksheet need to appear on a single PDF page, generate the report using Generate Report with Parameters:
Generate the report using "Generate Report with Parameters".
1. Right-click the Dynamic Reporting XLSX report object.
2. Select Generate Report with Parameters.
3. Select PDF as the output format.
4. Select "All Columns in One Page".
5. Generate the report.
This fits all columns contained in the worksheet onto a single PDF page.
Configuring reports containing multiple pages:
If the report is intended to contain multiple pages, configure each required report page on a separate worksheet in the XLSX template rather than placing all report content on a single worksheet.
For example, if the report requires both an Alarm View and an Event View, place the corresponding context tags on two separate worksheets:
- Worksheet 1: Alarm View
- Worksheet 2: Event View
This allows each context-based report section to be generated on a separate PDF page instead of fitting all content from the same worksheet onto one page.
Important: "All columns in one page" takes precedence over page size and orientation
- When All Columns on One Page is enabled, fitting all columns onto a single page takes priority over the configured paper size and orientation.
- As a result, the selected page size or orientation may appear to be ignored/overridden because the PDF layout can be adjusted as required to accommodate all columns on one page.
- If a consistent PDF page size and orientation are required across multiple pages, configure the Corresponding worksheets with consistent: Column counts, Column widths, page layouts, Page setup settings.