Pandora - Loading Variables

Revision as of 14:40, 5 August 2010 by Cameron (talk | contribs) (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…')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Revision as of 14:40, 5 August 2010 by Cameron (talk | contribs) (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…')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This function is used to obtain any variable values, and is often used for System Variables.

variables_replace(flag,callbackfunc,objecttype,objectid,variable)


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