getModuleByName(name: String);
name. Unit name.
The getModuleByName method returns unit settings by its name.
The method returns the same value as the PP.App.getActiveModule method.
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: