CurrentModuleList | HCL Digital Experience
The current module list always represents the list of modules within the scope of the current request, which is the currently selected page and theme. This module iterates through all modules, locates individual modules and queries their capabilities. It is useful for portlet developers to check whether certain capabilities are available on the page or not.
Attributes:
- iterator
- Iterates through modules.
- capabilities
- Returns the aggregated non-deferred capabilities for all modules that are part of the currently selected page and theme.
- deferredCapabilities
- Returns the aggregated deferred capabilities for all modules that are part of the currently selected page and theme.
- get(moduleKey)
-
Returns the module for the module key. The module key must be in the format
<module name>
or<module name>/<module version>
. The version is optional. If no version is used, then the module with the highest version is selected.