FileNETDocID_SetValue

Assigns the ID of the FileNet® document to a child object of the bound object in the Document Hierarchy.

Syntax

bool FileNETDocID_SetValue (StrParamMW)

Parameters

The name of the Field object. Smart Parameters are supported.

Returns

False if an active FileNet document is not found; if the active FileNet document has not been committed; or if the child Field object was not found. Otherwise, True.

Level

Document level, Page level or Field with child fields.

Details

Assigns the FileNet Document’s ID to a child Field object of the bound Document, Page or parent Field object of the Document Hierarchy.
Example
NewDocument("1040EZtwo")
AddAllImagesToDocument()
Upload()
FileNETDocID_SetValue("DocID")          

This sequence will set up a new FileNet document, commit it to the FileNet library, and assign its ID as the Text value of the specified child field value of the bound object.