VirtualViewer’s specifiedDocuments feature will display the opened documents in the Documents Tab of the Thumbnails Panel.

If multiple documents are opened in the VirtualViewer at one time, this allows users to move from document to document using a thumbnail sized image of each as opposed to only the Document Name. It also allows users to reopen any document that may have been closed in the current viewing session.

To utilize specifiedDocuments, perform the following configuration steps:

  1. Locate the config.js file in the deployment directory on the server under virtualviewer/user-config. a. Edit the multipleDocMode setting so that it reads vvDefines.multipleDocModes.specifiedDocuments.
  2. Also within virtualviewer/user-config edit custom-code.js as follows:

    a. Locate the beforeVirtualViewerInit() function and ensure that the following code is not commented out:

    var specifiedDocIds = top.window.specifiedDocIds;
    virtualViewer.initSpecifiedDocuments(specifiedDocIds);
    
  3. Locate the launchViewer.jsp file in the deployment directory under virtualviewer and modify as follows:

    a. Locate the loadTabs() function and ensure that the following line is not commented out:

    top.window.specifiedDocIds = docIds;
    
  4. Save all three files and copy the edited versions onto the server(s).