Pandora - Update a System Variable

From SmartWiki
Jump to: navigation, search

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");
}