Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

openPage(pageName, className, targetContext)

Updated on July 20, 2021

Loads a page into a container.

Returns

An empty Promise.

Parameters

NameTypeDescriptionRequired
pageNamestringThe name of the page to be loaded.
classNamestringThe name of the class that the page belongs to.
targetContextstringThe context in which the page must be loaded.
Note: If the value of targetContext is not provided, the default value is app.

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');

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us