Difference between revisions of "System Call"

From SmartWiki
Jump to: navigation, search
Line 31: Line 31:
 
<br/>2. SysCall_workflow(objecttype,objectid,'WorkflowTriggerName')
 
<br/>2. SysCall_workflow(objecttype,objectid,'WorkflowTriggerName')
 
<br/>3. SysCall_activatepelple(userid,activateType) - activateType can be 0(deactivated), 1(activated),3(applicant job application only),5(web service login)
 
<br/>3. SysCall_activatepelple(userid,activateType) - activateType can be 0(deactivated), 1(activated),3(applicant job application only),5(web service login)
<br/>4. SysCall_updaterole(userid,updatetype,'rolesNameDelimitedByComma') -update can be 1(add roles), 2(remove all existing roles and add new roles),3 (remove listed roles)
+
<br/>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)
  
 
<br>Proposed
 
<br>Proposed
  
 
   .....
 
   .....

Revision as of 14:33, 25 September 2012

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_activatepelple(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

 .....