Difference between revisions of "System Call"
Line 21: | Line 21: | ||
<br/>**Objtype can be integer or constants {levelone,level1,leveltwo,level2,levelthree,level3,contact,people,company} | <br/>**Objtype can be integer or constants {levelone,level1,leveltwo,level2,levelthree,level3,contact,people,company} | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | <br> Available Calls | ||
+ | |||
+ | In production | ||
+ | <br/>1. SysCall_updatestatus(objecttype,objectid,'StatusName') | ||
+ | <br/>2. SysCall_workflow(objecttype,objectid,'WorkflowTriggerName') | ||
+ | |||
+ | Proposed | ||
+ | <br/>3. SysCall_activatepelple(userid,activate type) - 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) |
Revision as of 14:13, 12 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 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')
Proposed
3. SysCall_activatepelple(userid,activate type) - activateType can be 0(deactivated), 1(activated),3(applicant job application only),5(web service login)
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)