Changes

Jump to: navigation, search

System Call

78 bytes added, 20:09, 11 February 2013
no edit summary
* '''on demand''' - SysCall is executed by the server when the user clicks a button on the page.
**The button will be displayed for the browser script field when you select this type of trigger.**Note this is the only time the Browser Script field type has any visibility on a page.
*'''on Save''' - SysCall is executed by the server when page is saved (no JavaScript is required).
The following System Call are currently in production
''
<pre>SysCall_updatestatus(objecttype,objectid,'StatusName')''
<pre>SysCall_workflow(objecttype,objectid,'WorkflowTriggerName')
 
Call a workflow</pre>
<pre>SysCall_activatepeople(userid,activateType)
 
Activate a contact as a user. The activateType can be set to:
0 = deactivate existing users
<pre>SysCall_updaterole(userid,updatetype,'rolesNamesDelimitedByCommas')
 
Update user role. The updatetype can be set to:
1 = Add roles to contact.
<pre>SysCall_updatesysvar('VariableName','Description','VariableValue')
 
Update existing System Variable to new value.</pre>
== Proposed Additional System Calls ==
We welcome suggestions for additional system call that would reduce the need for scripting so please email SmartSimple Support or open a support ticket with the SmartSimple with the details of the System Call you would like to add. Newproposed System Calls will be added to this article as they become available.
Smartstaff
311
edits

Navigation menu