Difference between revisions of "Pandora - Update a System Variable"
(Created page with 'This function will update a single system variable sysvar_update(flag,callbackfunction,varname,value) {| border="1" !Parameter !Description |- |'''Flag'''|| Asynchronous proce…') |
m (fixed it) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | This function will update a single system variable | + | This function will update or create a single system variable |
sysvar_update(flag,callbackfunction,varname,value) | sysvar_update(flag,callbackfunction,varname,value) | ||
Line 25: | Line 25: | ||
function setDeadlin() { | function setDeadlin() { | ||
ss_developer_key="745757jj3389dl8783"; | ss_developer_key="745757jj3389dl8783"; | ||
− | var sysvar_update(false,"","Submission Deadline","2015-12-31") | + | var result = sysvar_update(false,"","Submission Deadline","2015-12-31"); |
} | } | ||
[[Category: Pandora]] | [[Category: Pandora]] |
Latest revision as of 10:10, 21 April 2015
This function will update or create a single system variable
sysvar_update(flag,callbackfunction,varname,value)
Parameter | Description |
---|---|
Flag | Asynchronous processing Flag
Set to False for synchronous processing. Set to True for asynchronous processing. |
Callbackfunc | User created Java function to manage the callback from an asynchronous function. |
varname | name of the system variable to be updated or created |
value | The value of the system variable |
Example
function setDeadlin() { ss_developer_key="745757jj3389dl8783"; var result = sysvar_update(false,"","Submission Deadline","2015-12-31"); }