Terminal Services

Users can access Open Client and the Java Viewer via Microsoft Terminal Services. Users cannot run the IDM Viewer via Terminal Services nor can they use FileNet Web Services Application Integration. For a more detailed discussion, ask your FileNet representative for the Technical Brief titled "FileNet Open Client Support of Microsoft Windows Terminal Services" (available on FileNet's internal eXtra site).

To run the Java Viewer via Terminal Services, the site administrator must add the following code to the FnOpenClient project and recompile. Failure to make these changes can lead to Java Viewer image and annotation cache contention.

To modify code to use Java Viewer via Terminal Services

  1. In the JavaScript block of the FnJavaViewHelper.js page add the following Java script:
strDocWrite+='<param name="CachePath" value="<%=getCachePath()%>">';
  1. In the FnJavaView class of the FnJavaView.aspx.vb file, add the following function. Please note that the aCachePath string value can contain a directory path of the administrator's choosing. The current user's login name is appended to the end of this directory path so that it has a unique value for each user.

' Public Function getCachePath()

' Purpose: Gets a cache path name to use as the alternate Java Viewer cache path. Note the following:

-A forward slash must be used for directory separators.

-The ' cachePath parameter is recognized only on Windows platforms.

' Parameters: None

' Throws: None

Public Function getCachePath() As String

Dim aCachePath As String

aCachePath = "c:/CACHE_DIRECTORY_STRUTURE_OF_CHOICE_HERE/" + getUserId()

Return aCachePath

End Function