docURLPrototype parameter
This parameter is the prototype for the URL that is passed to the HTTP repository store when a user requests a file through the viewer and the ViewONE Document Streaming Server Module.
Tokens can be specified as part of this prototype by using ${ to start the token
and } to end it. The values for these tokens are taken from the URL that the server
is called with.
The simplest method of using this configuration parameter is to use the
originalDocURL token name.
Alternatively, a more complex method is available that provides greater control over the URL. You can substitute values from the original request URL. For example, assume that your ViewONE Document Streaming Server Module URL, which is specified in the file name parameter in the HTML page for the IBM Daeja ViewONE Professional client is the following URL:
http://localhost:8080/viewone/streamer?path=images&file=test
The following docURLPrototype is your parameter:
http://host/fileserver?type=${path}&name=${file}
The resulting request:
http://host/fileserver?type=image&name=test
The default value is ${originalDocURL}.
Requirements
- ViewONE Document Streaming Server Module
Example
docURLPrototype=${originalDocURL}
docURLPrototype=http://host/repository/${file}