Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Examples and how to

How to edit the maximum number of cells displayed in the viewer - Hubshare On-Premise

Last updated on 22 December 2022

Admin
M-Files Hubshare

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.

image.png

For M-Files Hubshare On-Premise customers, it is possible to increase that value.

Solution

  1. Go to your Services and stop the WebViewer Server service
  2. Access your WebViewer Server folder (most often it will be C:\WebViewer-Server\)
  3. Look for the wvs_config.json file that should be under the subfolder apache-tomcatimage.png
  4. Edit this file and look for the TRN_MAX_EXCEL_COUNT valueimage.png
  5. Increase it (we recommend it to be increased by 50000 at a time)
  6. 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.

Still need help?

On this page