Summary
You can use the Baselines for Confluence configuration file to configure some of the parameters of Baselines for Confluence.
Creating a Configuration File
In order to use the configuration file, create a text file named baselines.properties in the Confluence Home folder of your Confluence server.
The app checks the Local Home folder first and the Shared-Home folder (if any) after that. If a file named baselines.properties exists in both locations, the one in the Local-Home takes precedence.
When you make changes to the configuration file, you will need to just disable/re-enable Baselines for Confluence app for the changes to take effect.
Restarting Confluence also works as a disable/enable operation but it is not needed.
Limiting PDF Export Size
By default, PDF export of baselines has no page count limit. This can put a lot of pressure on your Confluence instance for baselines with a lot of pages.
You can limit the max number of pages in a baseline that can be exported via PDF export.
To increase or decrease this limit, put the following line in the properties file and set the new limit value.
baselines.export.pdf.maxpagecount = 100
Accepts any integer.
The default value is -1 so if this key is not defined, no limit will be enforced.
This key does NOT affect single-page PDF exports or CSV exports of Baselines for Confluence app.
This key does NOT affect the export functionality of Confluence itself or any other app.