WAM095 LOB Data Types and Stream Files

LANSA WAM

WAM095 - LOB Data Types and Stream Files

Objectives

  • To demonstrate how to develop a WAM with a WebRoutine, that uses the Response() parameter to output a file to the browser.

In order to complete these objectives, you will follow one of two paths:

1.  If you are using the VLF application and DXDOCS file for employee documents you should do the following:

2.  If you are NOT using the VLF application and DXDOCS file you carry out these steps:

Before You Begin

WAMs allow you to serve stream files that:

  • You don't want to store on your Web server
  • Documents whose contents are stored in your application data base.
  • Documents that are created on demand.

You can serve the contents of LOB data types (BLOBs and CLOBs) and stream files located in your Application Server with special WebRoutines.

The WebRoutine can contain RDMLX code to create the contents of the file or determine which file to send. The only requirement is that you set the ContentFile to the file name that you want to serve.