System Call

Revision as of 13:55, 7 February 2013 by Arthur Lathrop (talk | contribs)

Revision as of 13:55, 7 February 2013 by Arthur Lathrop (talk | contribs)

System Call ( embedded in browser script custom field type )


Trigger Type


on Load - SysCall is carried out by server when page is requested (no javascript is required)
on Page - SysCall is trigger by clicking a button on page
on Save - SysCall is carried out by server when page is saved (no javascript is required)


Example :


<!--SysCall_updatestatus(@objtype@,@objid@,'StatusName')-->

<!--SysCall_workflow(@objtype@,@objid@,'myworkflow')@-->

<!--SysCall_workflow(23,@parent.objid@,'myworkflow')@-->

<!--SysCall_workflow(levelone,@parent.objid@,'myworkflow')@-->


**@objtype@ and @objid@ are reserved words


**Objtype can be integer (23, 18, 30, 40) or constants {levelone, level1, leveltwo, level2, levelthree, level3, contact, people, company}




Available Calls

In production
1. SysCall_updatestatus(objecttype,objectid,'StatusName')
2. SysCall_workflow(objecttype,objectid,'WorkflowTriggerName')
3. SysCall_activatepeople(userid,activateType) - activateType can be 0 (deactivated), 1 (activated), 3 (applicant job application only), 5 (web service login)
4. SysCall_updaterole(userid,updatetype,'rolesNamesDelimitedByCommas') - updatetype can be 1 (add roles), 2 (remove all existing roles and add new roles), 3 (remove listed roles)


Proposed

 
1. SysCall_updatesysvar('VariableName','Description','VariableValue')