Changes

Jump to: navigation, search

System Call

1 byte removed, 19:52, 11 February 2013
no edit summary
The System Call feature of SmartSimple provides you with the ability to execute pre-defined system functions on the server and in the process avoid the creation of client side scripting. The benefits of System Calls are as follows:
 
* Better performance and security as the execution of the code takes place on the server not in the client browser.
* You don’t need to know JavaScript in order to use the feature.
== Using System Calls ==
== Using System Calls ==
When using system calls you add the System Call references to a Browser Script type custom field. The syntax for each call is as follows:
When using system calls you add the System Call references to a Browser Script type custom field.
The syntax for each call is as follows:
<!--SysCall_function(@parameter 1@,@parameter 2@,@parameter N@)-->
 
Note Multiple System calls can be embedded in the same script field.
 
Triggering System Calls
 
The execution of the system call is controlled by the trigger that you set for the Browser Script field. The following triggers are supported.
* on Load - SysCall is executed by the server when page is requested (no JavaScript is required)* 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).
Smartstaff
311
edits

Navigation menu