Web Viewer Settings

This section presents a sample smarteam.std.viewers.config xml file. Explanations are presented under the code.

<JVueViewerDirectory>\\ilqaviewer\Viewer</JVueViewerDirectory> 
 
<JVueServer>http://ilqaviewer/servlet/VueServlet;socket://ilqaviewer:5099 
 </JVueServer> 
<JVueAppletCodeBase>http://ilqaviewer/jVue</JVueAppletCodeBase> 
 
<eDrawingURL>http://localhost/WebEditor/Dynamic/Download/Files/</eDrawing 
  URL> 
<eDrawingDirectory>C:\WORK\Source\WebEditor\   SmarTeam.Std.Applications.W
ebEditor\Dynamic\Download\   Files</eDrawingDirectory> 
<ViewerSelectorType>SmarTeam.Std.Web.UI.WebControls.Viewer.DefaultViewer
   Selector</ViewerSelectorType> 
<viewerAdapters> 
  <adapter> 
   <extension>default</extension> 
   <adapter>SmarTeam.Std.Web.UI.WebControls.Viewer.Adapters.JVueAdapter
     </adapter> 
  </adapter> 
  <adapter> 
<extension>.sldprt</extension> 
   
<adapter>SmarTeam.Std.Web.UI.WebControls.Viewer.Adapters.eDrawingAdapter</
adapter> 
  </adapter> 
</viewerAdapters> 

where:

Element
Description
JVueViewerDirectory
The shared directory used by SmarTeam - Web Editor and the Jvue server. Files will be copied to this directory by SmarTeam - Web Editor and will be viewed from this directory by Jvue
JVueServer
The SmarTeam - Web Viewer server IP address. This indicates the connection used between the Jvue applet and server (used to be JVUE_SERVER_ADDRESS in SmTeam32.ini)
JVueAppletCodeBase
URL to which to download the Jvue applet (used to be JVUE_APPLET_CODEBASE in SmTeam32.ini)
eDrawingURL
Not finalized.
eDrawingDirectory
Not finalized.
viewerAdapters
Collection of Viewer per extension. This list determines which viewer will be used for each file extension. The extension "default" determines which viewer will be used by default. In the above example, the .sldprt extension will be viewed with the eDrawing viewer.