Code Completion

Code Completion
lac31
You can get help writing your custom code by using context-sensitive code completion. In the code editors in API Creator, you can access JavaScript methods by pressing the 
CTRL+Space
 keys on your keyboard.
Access the System Methods
You can get an introduction to the 
CA Live API Creator
 system objects that you can use to extend 
CA Live API Creator
, such as the 
SysLogic
 object and the 
SysUtility
 object, by exploring the API samples.
The following image shows an example of accessing the 
SysLogic.insertChildrenFrom()
 method from the 
Audit Employee Changes
 event rule in the 
Sample (MariaDB/MySQL)
 API sample:
  CA Technologies  
For more information about the methods for the 
SysLogic
 object, see The SysLogic Object.
Access the Object Model
You can access attributes and related objects using code completion in the code editor.
The following image shows an example of accessing the 
row.reportsTo
 attribute from the 
Audit Employee Changes
 event rule in the 
Sample
 API sample:
CA Technologies
For more information about row objects and how to access attributes and related objects, see Row Objects.