WbkDocument.getSheetOdId

Syntax

getSheetOdId (value);

Parameters

value. Sets value for the key.

Description

The getSheetOdld method returns object that contains sheet moniker, by its key.

Example

To execute the example, create a service to work with time series, get a workbook instance from the time series database, and determine key of the active sheet (see WbkDocument.ActiveSheetKey) and add the following code in the handler that processes document opening:

	var sheetOdId = wbkDocument.getSheetOdId(sheetKey);
	console.log("object with sheet OdId");
	console.log(sheetOdId);

After executing the example, OdId object of the sheet is shown in the browser console:

object that contains sheet OdId

Object {id: "PLIFCPLEOAECEOAELJBANONDACNJPKEEKKFIPLGAIIOCEBNP!M…OAEKBKMIEIGKMHFOBHEKJMJAABNCMJMGPEP!Sheets!857804"}

See also:

WbkDocument