0
edits
Changes
Created page with 'This function is used to obtain any variable values, and is often used for System Variables. variables_replace(flag,callbackfunc,objecttype,objectid,variable) {| bord…'
This function is used to obtain any variable values, and is often used for [[System Variables]].
variables_replace(flag,callbackfunc,[[objecttype]],objectid,variable)
{| border="1"
!Parameter
!Description
|-
|'''flag'''||True or false, send synchronously or asynchronously.
|-
|'''callbackfunc''' ||Function to be used after the asynchronous function call.
|-
|'''[[objecttype]]''' || The [[Object Type ID]] of the object with the desired value
|-
|'''objectid'''|| The object id ([[opportunityid]], [[userid]], [[companyid]], etc) of the entity with the desired value
|-
|'''variable'''|| The variable name (ie: ''@this field@'' or '''@system.this variable@''')
|}
* The objecttype and objectid provide the context for the variables_replace search (ie: if the variable is a user variable use 40 and the [[userid]] of the user)
* The '''variables_replace''' function returns the result in recordset in a field named '''msg'''
==See Also==
* [[Pandora - Sample - Obtain System Variable]]
[[Category:Pandora]]
variables_replace(flag,callbackfunc,[[objecttype]],objectid,variable)
{| border="1"
!Parameter
!Description
|-
|'''flag'''||True or false, send synchronously or asynchronously.
|-
|'''callbackfunc''' ||Function to be used after the asynchronous function call.
|-
|'''[[objecttype]]''' || The [[Object Type ID]] of the object with the desired value
|-
|'''objectid'''|| The object id ([[opportunityid]], [[userid]], [[companyid]], etc) of the entity with the desired value
|-
|'''variable'''|| The variable name (ie: ''@this field@'' or '''@system.this variable@''')
|}
* The objecttype and objectid provide the context for the variables_replace search (ie: if the variable is a user variable use 40 and the [[userid]] of the user)
* The '''variables_replace''' function returns the result in recordset in a field named '''msg'''
==See Also==
* [[Pandora - Sample - Obtain System Variable]]
[[Category:Pandora]]