FNP8_SetProperty

Sets the designated FileNet® P8 property to a specified value.

Syntax

bool FNP8_SetProperty(StrParam)

Parameters

The following comma-separated string values:
  1. Property ID: the name of an existing document property in the FileNet library (equivalent to a document index field).
  2. Property Value: the value to assign to the associated Property ID.
  3. Optional property type. If this parameter is not specified, the property type will default to a 'string'. Supported types are: Binary, Boolean, DateTime, Float, ID, Integer, Object and String.

Smart Parameters are supported for values.

Returns

False if either parameter is blank or if the value parameter is invalid. Otherwise True.
Attention: If the action returns False, the action directs the Rulerunner task to finish with a status of Abort. The task will also abort if more than one value is assigned to the Smart Parameter variable. If a ruleset calls the FNP8_SetProperty action more than once, using the same Property ID as the opening parameter, FileNet P8 assumes that the second parameter is multi-value and assigns that value to the property.

Level

All levels.

Details

Sets the designated FileNet property to a specified value. This is equivalent to setting an index value for a document in other document management systems.
Example
FNP8_SetProperty("DocumentTitle, @ID")
FNP8_Upload()