Module
ScriptField
ScriptField ( fieldName )
Computes dynamic document properties based on information from other fields.
|
Method Summary
Returns | Name | Description |
---|---|---|
String | _type() | The type of ejs object. For internal use only. |
Object | ignoreFailure(trueFalse) | If execeptions thrown from the script should be ignored or not. Default: false |
Object | lang(language) | The script language being used. Currently supported values are
javascript and mvel . |
Object | params(oParams) | Allows you to set script parameters to be used during the execution of the script. |
Object | script(expression) | Sets the script/code that will be used to perform the calculation. |
String | toJSON() | Retrieves the internal script object. This is typically used by
internal API functions so use with caution. |
Method Detail
ignoreFailure
Object ignoreFailure ( trueFalse )
If execeptions thrown from the script should be ignored or not.
Default: false
|
lang
Object lang ( language )
The script language being used. Currently supported values are
javascript and mvel .
|
params
Object params ( oParams )
Allows you to set script parameters to be used during the execution of the script.
|
script
Object script ( expression )
Sets the script/code that will be used to perform the calculation.
|
toJSON
String toJSON ( )
Retrieves the internal script object. This is typically used by
internal API functions so use with caution.
|