Input - getFile

 

Description

Builds a product with references to (not copies of) local files.

 

Configuration Variables

fileList
The file(s) to package.

keepSourceFiles

Default true. If true it indicates that files should not be deleted after passing forward as this PIMs product. 

Product

If there is only one file then a simple product is returned. If there are more than one then a Vector product is returned with each file as a child.

 

How it works

Each file is added to a Container Product as a File Reference if it exists. If the resulting container product has one file then that simple product is returned otherwise the Container Product is returned.

Revised: 15 January 1999