Direct Browser Access to Documents

Top  Previous  Next

It is possible to view documents and document images directly, bypassing the full user interface, by using one of the following URL structures:

 

http://server/path/script?a=vw&lb=library&doctype=doctype&docid=docid

 

http://server/path/script?a=vw&lb=library&doctype=doctype&docid=docid&subid=subid

 

The first form will load a document-level view page, which includes links to images.  The second will load an image directly.  In each case, the server and script path must point to the UnForm web interface script, and the library, document type, document ID, and sub ID values must be URL-encoded (i.e. spaces are replaced with “+” characters, and certain other characters are converted to %hex.  Information about URL-encoding can be found in any HTML guide.

 

If the subid specified is simply “@”, as in “…&subid=@”, then if the document only has an @UnForm subid (ignoring the @text subid), that PDF document will be viewed.  If there is no @UnForm subid or there are additional images, such as scanned documents, then the document view page will be shown.

 

If the browser interface session has expired, then a login screen will be presented before the document is shown.  It may be preferable to configure sessions to last longer, several hours or a day or more, to avoid this requirement.

 

Alternatively, it is also possible to use one of the UnForm clients, in conjunction with the –p winpvw option, to retrieve and view a document image from an archive.  This may be preferable as login information can be supplied from the command line or saved information from prior executions.