Changes

Jump to: navigation, search

Pandora - Loading Variables

1,017 bytes added, 19:40, 5 August 2010
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]]
0
edits

Navigation menu