JavaScript API
The following topics describe the methods that are available through the JavaScript API. For each method the parameters and return types are listed with examples of the calling method. These topics also provide information usage information about the various methods:
- Methods for the oraclecrmod Object
- Methods for the TitleBar Object
- Methods for the Button Object
- Methods for the Field Object
- Methods for the Form Object
- Methods for the List Object
- Methods for the ListRow Object
- Methods for the Context Object
- Methods for CRUD Operations
- Method for Setting the Search Specification for the Solutions Popup Window Associated with Service Requests
Chaining of Methods
The oraclecrmod library uses chained API style for those methods that do not usually have a return value (for example, setter methods). You can chain many methods together to make the code easier to read and write. However, you cannot chain methods that return real values, for example, getXXX or isXXX methods.
The following is an example of chaining:
btn.setText("Sample").setImage(url).on("click",fun1);