FNP8_SetFileType

Assigns the file type for the files that are uploaded.

Syntax

bool FNP8_SetFileType (StrParam)

Parameters

StrParam
A string that identifies the file type. The valid values are as follows:
  • doc
  • docx
  • gif
  • jpe
  • jpeg
  • jpg
  • msg
  • pdf
  • ppt
  • tif
  • xls
  • xlsx
  • zip

The default file type is TIF.

Returns

Always returns True.

Level

Batch or Document level.

Details

Use this action to identify the file type of the files that will be uploaded to FileNet® P8.
Example
FNP8_SetFileType("jpg")
FNP8_Upload()