Overview
When using Hubshare viewer (PDFTron) to preview excel files, there is a default limit set to the number of cells that it can display.
If the excel file has way more cells than allowed, you will get this error when trying to preview it.
For M-Files Hubshare On-Premise customers, it is possible to increase that value.
Solution
- Go to your Services and stop the WebViewer Server service
- Access your WebViewer Server folder (most often it will be C:\WebViewer-Server\)
- Look for the wvs_config.json file that should be under the subfolder apache-tomcat
- Edit this file and look for the TRN_MAX_EXCEL_COUNT value
- Increase it (we recommend it to be increased by 50000 at a time)
- Start the WebViewer Server service again and test your excel file in Hubshare
Every major update that Hubshare will get on your machine, this value will be overridden with the one written in the code of that specific version, you will then need to adjust it.
