openPage(pageName, className, targetContext)
Loads a page into a container.
Returns
An empty Promise.
Parameters
Name | Type | Description | Required |
pageName | string | The name of the page to be loaded. | ✅ |
className | string | The name of the class that the page belongs to. | ✅ |
targetContext | string | The context in which the page must be loaded. | ❌ |
Usage example
In this example, the API opens the pyHome
page belonging to the
Data-Portal
class, and updates the Redux Store.
PCore.getMashupApi().openCase('pyHome','Data-Portal');
Previous topic openCase(caseId, targetContext, options) Next topic APIs in the MessageManager module