TSService.getHieService

Syntax

getHieService ();

Description

The getHieService method returns a service to work with workbook series hierarchy.

Example

To execute the example, the page must contain the WorkbookBox component named workbookBox (see Example of Creating the WorkbookBox Component), and also add the following code in the handler, that processes document opening event:

	//Return a service used to work with workbook series hierarchy
	var hieService = tsService.getHieService();
	//Check if the _Metabase property is available
	alert(!!hieService._Metabase);

After executing the example the WorkbookBox component is placed in HTML page, a service for working with series hierarchy is returned, and the browser console displays a message that contains results of checking for availability of the Metabase property.

See also:

TSService