Functions and Views Required to Create an Extension File for Customized Tabs
An extension file for SSCE must contain the following functions:
Functions | Description | Example |
|---|---|---|
getSidePaneView() | Returns project name, view name, and UI5 view files
All the items and objects must be marked to drag in the End of the note. | If you have created a project, |
generateHTML(data) | Process the JSON data and returns html string that is rendered during design time of SSCE. The JSON data is the same data that was provided in the draggable object. | |
getKey() , getExtensionName () | Returns string that is same as extension name. | If you have given |
getMainJSFile() | Returns the same path that is used while saving an extension in Workbench. | Returns "Extension_test/CustomExtension.js" |
renderModelDesign(data) | Process the JSON data and returns html string that is rendered during design time of SSCE. The JSON data is the same data that was provided in the draggable object. | |
is getUtilJSFile() | Use this function to include additional javascript. Returns comma (,) that is separated string of path of JS files. | Returns "Extension_test/extnUtil.js" |