Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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":

<diff>

<replace type="@valuesel="/configuration/appSettings/add[@key='PreviewMaxFileSize']">99999999</replace>

</diff>

To run the "web_config_override.bat" file:

  1. 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.
  2. Navigate to the "{Install Folder}\RestService\Custom" folder.
  3. Run the command: web_config_override
  4. 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.

...