Skip to main content

Pentaho+ documentation has moved!

The new product documentation portal is here. Check it out now at docs.hitachivantara.com

 

Hitachi Vantara Lumada and Pentaho Documentation

util

pentaho.module. util

AMD Module

require(["pentaho/module/util"], function(util) { /* code goes here */ });

The util namespace contains utility function for working with modules.

Source: javascript/web/pentaho/module/util.js, line 55

Methods

Name Description
resolveModuleId(moduleId, dependentId) : string

Resolves a module identifier as if it were a dependency of another module.

Methods Details

resolveModuleId(moduleId, dependentId) : string

Resolves a module identifier as if it were a dependency of another module.

Resolving makes moduleId absolute, relative to dependentId.

Afterwards, any applicable RequireJS contextual mapping configuration is applied.

Source: javascript/web/pentaho/module/util.js, line 122

Parameters:
Name Default Value Summary
moduleId : string

The identifier of the module to be resolved.

dependentId : string

The module that depends on moduleId.

Returns:
Name Description
string

The identifier of the resolved module.