Pandora - Loading Variables
From SmartWiki
This function is used to obtain any variable values, and is often used for System Variables or Web Page View.
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