Views:

Description

Allows you to execute a library calculation formula. 

 

Signature

ExecuteFormulaNative('shortcode', ['targetid'], ['enablelogging'], ['formulaparameters'], ['format'])

 

Example 1

ExecuteFormulaNative(
  'f9G')

Example 2

ExecuteFormulaNative(
  'f9G',
  '0398751d-d87a-4f07-90a7-88fa6e902251'
)

Example 3

ExecuteFormulaNative(
  'f9G',
  '0398751d-d87a-4f07-90a7-88fa6e902251', 
  'true'
  SetFormulaParameters('lastname', 'Gates'),
  'Int32'
)

 

Note 1

A string is the default value for the format parameter.  This controls the datatype of the returned value. The allowable values are as follows:

Format (datatype)
String
Datetime
Decimal
Date
Int32
Boolean

 

Parameters

                                                                                                                                                                                                                           
NameTypeDescriptionRequired
shortcodexxxxxxxxxxxx
targetidxxxxxxxxxxxx