A detailed documentation of the functions and their parameters can be found in the Java Script source file itself which is located in the WebOffice 10.6 application directory <web application>\client_core\js\api
Note: The file ScriptApi.js contains almost the same functionality from the WebOffice html client. The other jsp files contain additional functionality that can be used in the WebOffice core client.
For example it is possible, to switch to a tab of a ribbon in the user interface by calling the following Script API method. The parameter argRibbonIdxOrId is the external id of a ribbon.
•client.api.showRibbon (argRibbonIdxOrId);
Shows a ribbon by calling the index or external id. The parameter argRibbonIdxOrId is the external id of a ribbon and starts with 0.
•client.api.closeActiveTool();
Closes the current active Tool within the ribbon (works with simple and extended custom tool as well).
Note: This parameter does not work with static custom tools or simple one-click tools
•client.api.addGeoNode();
Adds Geo Nodes to the map.