AddTIFImageToDocument
Adds a TIF image file to the new FileNet® document.
Syntax
bool AddTIFImageToDocument ()
Parameters
None.Returns
False, if no Page component of the calling object is found, batch images cannot be accessed, or if the active FileNet document is already committed to the library. Otherwise, True.Attention: If the action cannot access the batch's image files,
the action directs the Rulerunner task
to finish with a status of Aborted.
Level
Field or Page level.Details
Adds the Image file that is associated with a Page object of the Document Hierarchy to the new FileNet document.If a rule that contains this action is bound to a Field object, it adds the Image file that is associated with the field’s parent Page object. An Upload action must stay at any level lower than this action.
- Example
NewDocument("1040EZtwo") AddTIFImageToDocument()This sequence associates the calling component’s bound Image file with a new FileNet 1040EZtwo document.