getSheets ();
The getSheets method returns the list of all document sheets.
To execute the example, create a service for working with time series, get a workbook instance from the time series database (see WbkDocument.ActiveSheetKey) and add the following code in the handler that processes document opening:
var sheets = wbkDocument.getSheets(); console.log("associative array of all sheets(sheet) in document"); console.log(sheets);
After executing the example the browser console displays associative array of all sheets in the document:
associative array of all sheets in the document
Object {857804: PP.TS.Workbook}
See also: