Changing the directory of the documents in IceViewer HTML5

The IceViewer HTML5 uses the FileEngine by default. The FileEngine can be configured through a configuration file, that is located at \Configuration\FileEngine.xml, relative to the IceViewer location.

For example, the default File Engine uses the following configuration file:

C:\inetpub\wwwroot\IceViewer\Configuration\FileEngine.xml

If you would like to change the source of documents location, you must update the configuration file with any text editor. Change the PATH property the configuration file accordingly. For example:

<FileEngine>

<PATH>D:\iceviewer\</PATH>

<OCR_SUFFIX>.ocr</OCR_SUFFIX>

<HOCR_SUFFIX>.hocr</HOCR_SUFFIX>

<INDEX_SUFFIX>.index</INDEX_SUFFIX>

<ANNO_SUFFIX>.ann</ANNO_SUFFIX>

<DELETE_EMPTY_ANNOTATION_FILE>true</DELETE_EMPTY_ANNOTATION_FILE>

</FileEngine>

Once the configuration file has been changed, restart the IceViewer HTML5 application in the IIS, and see if the IceViewer now uses the new location to find and open your files.