PP.App.getModuleByName

Syntax

getModuleByName(name: String);

Parameters

name. Unit name.

Description

The getModuleByName method returns unit settings by its name.

Comments

The method returns the same value as the PP.App.getActiveModule method.

Example

To execute the example, open Foresight Analytics Platform web application. The scenario specified below must be started in the browser console.

// Determine express report unit settings
var module = PP.App.getModuleByName("Olap");
console.log(module);

After executing the example the console displays express report unit settings.

See also:

PP.App