The default preview settings are configured in the Rest Service "web.config" file. A ViaWorks Locator administrator can modify these settings by editing the web_config_override.xml file found in "\Program Files\VirtualWorks\ViaWorks\RestService\Custom".
Example: To change the maximum file size supported for previews, add the following to the "web_config_override.xml" file and then run "web_config_override.bat":
<replace type="@value" sel="/configuration/appSettings/add[@key='PreviewMaxFileSize']">99999999</replace>
</diff>
To run the "web_config_override.bat" file:
- Open a Command Prompt (Run as Administrator). An elevated command prompt must be used to allow changes to be made in the “Program Files” folder.
- Navigate to the "{Install Folder}\RestService\Custom" folder.
- Run the command: web_config_override
- This will modify "web.config" which will cause the application to restart.
...
Using the web_config_override file instead of the web.config file ensures configuration changes are retained after upgrading.
...