Foxit WebPDF for SharePoint Advanced Configuration Guide
Table of Content Frontend Web Server Configuration................................................................................... 3 Feature list................................................................................................................... 3 Step by step introduction............................................................................................. 3 PDF Conversion Service Configuration .............................................................................
Overview Foxit WebPDF Reader provides four advanced configuration types to help the administrator control the reader’s functions. The configurations are frontend web server configuration, PDF’s conversion configuration, cache’s configuration and log configuration. In this guide, this document will provide a description of how to use them in detail. Frontend Web Server Configuration The fronted Web Server configuration provides configuration to PDF viewing functions.
Visit Central Administration of SharePoint, click "Manage Web Application” under “Application Management”. Click the website to be configured, and choose SharePoint-80 (as shown below). Then the “WebPDF Reader Settings” option in the toolbar will be activated, click it. (Note: Configuration to the administrator’s website is not supported.
By default, all the functions of WebPDF Reader, except the “Add watermark”, are enabled. If you want to enable the watermark, just check the “Add watermark” option. Select one kind of watermark you like. Click more to set parameters of font size, font and color of watermark, etc. (Note: The listed fonts are those that are applied in the Web frontend server. Please make sure that the selected font has been installed in the SharePoint Server to ensure normal display of the watermark.
After configuration: static watermark added, text selection disabled: PDF Conversion Service Configuration The PDF conversion service is the core function of WebPDF Reader, including functions such as converting a PDF to an image, extracting text information from a PDF, extracting PDF form data, and more.
request timeout server. This can prevent the Web server from waiting for extended periods. IIS must be reset for changes in this setting to take effect. The default value is 120,000ms. Maximum thread Maximum thread quantity of thread pool is 1. You must reset IIS quantity of thread pool before the configuration changes will take effect. 1 Generally, this number should not be greater than the quantity of the total processor cores on the server.
Find “Foxit PDF Conversion Service” and select it, and then click the “Manage” button on the toolbar. Input the value you want to set and then click “OK” to save the configuration.
Cache Management Configuration Some data files (such as images, PDF text, etc.) will be created when you view PDF files through WebPDF Reader on the server. It will consume some computer memory during data conversion. To reasonably reuse the data files as well as reduce memory consumption, WebPDF Reader will save the images and other converted data files to the content database of SharePoint as cache.
automatically after the effective time. The default value is 30 days. The min value is 1. Cache storage path The path of cache. (Content database of SharePoint). To manage the cache of WebPDF Reader more easily, it is better to make the cache of WebPDF Reader independent to other content in the database. So you have to create an individual content database, and make sure it just includes one website collection. And then configure WebPDF Reader to use this database.
Get the value of cache storage size and effective time: Use below script to get the cache effective time in PowerShell window Get-SPWebApplication | Get-SPFoxitWebReaderCacheExpiration Use below script to get the cache storage size in PowerShell window Get-SPWebApplication | Get-SPFoxitWebReaderCacheMaxSize Move the cache database with PowerShell (highly recommend): In this case, we will try to move the Web Application cache of http://TestWebApp to TestWebAppCacheDB.
If you want to modify the storage path of the log, please follow the steps below: Modify the path of the frontend log Open $SharepointRootPath\TEMPLATE\LAYOUTS\Foxit.WebReader.Sharepoint\Config folder ($SharepointRootPath is the designated root folder of SharePoint installation) Open “log4net.config” file with Notepad, modify to a new path as below: Modify the path of conversion log Open $SharepointRootPath\WebServices\FoxitWebReaderService\Config fol