Enabling Pagewise Export and Customizing Record Counts in Grid Widget Export As PDF
By default, only the current page of the widget is exported when exporting the grid as a PDF in Bold BI. However, you can enable pagewise export support and customize the record count by following the below steps. This feature is particularly useful for viewing large datasets as PDFs.
Steps to Enable Pagewise Export
- Go to the dashboard viewer page by rendering the dashboard.
- Hover over the Grid widget and click on the “More Options” icon in the widget header.
- Select the “Export” option and choose “PDF”.
- In the PDF Export dialog, enable the “Enable pagewise exporting” checkbox.
- Customize the “Page Size” and “Orientation” settings, then click “Export”.
Steps to Customize the Record Count While Exporting
By default, only 500 records will be exported as a PDF when pagewise exporting is enabled. You can customize the record count using the PageWiseExportRecordCount
value as follows.
It is recommended to export a maximum of 2000 records (equivalent to 150 pages). Exporting more than this may result in a time-out error or memory issue.
Windows
- Open the
appsettings.json
file located at:{deployment_location}\bi\dataservice\appsettings.json
- Customize the record count in the
PageWiseExportRecordCount
node and save the file. - Export the widget by enabling the “Enable pagewise exporting” checkbox to export the grid with the configured number of records.
Linux
- Open the
appsettings.json
file from the deployment location by running the following commands:cd /var/www/bold-services/application/bi/dataservice/ sudo nano appsettings.json
- Customize the record count in the
PageWiseExportRecordCount
node. - To save the changes, press
Ctrl + X
, thenShift + Y
, andEnter
. - Export the widget by enabling the “Enable pagewise exporting” checkbox to export the grid with the configured number of records.
Docker & Kubernetes
Add the AppSettings__PageWiseExportRecordCount
environment variable on the designer service and set it to the desired value.
Please note that the paths and property names mentioned are specific to Bold BI Data Service.