Code Completion

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 Methods
You can get an introduction to the objects that you can use to extend
Layer7 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:
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.