Support Article

Load-DataPage method does not accept param values



A generic framework is built and a data page (as an input parameter to load) is called asynchronously. For this purpose, Load-DataPage with parameters Data page and Pool ID is used. On providing the data page name, this works fine; but an error is thrown when an attempt is made to pass the activity parameters in to the data page of the method.


Error Messages

Invalid Data Page name. Only thread, requestor and node level data pages can be loaded using this method.

Steps to Reproduce

In a Activity, use method- Load-DataPage and try to pass Activity parameter created into Load-DataPage method parameter Data Page.

Root Cause

The data page can be loaded asynchronously using the loadAsyncDeclarativePage API call, which is similar to the Load-Datapage method in the Activity. 

Example API call: ((PegaAPI)tools).loadAsyncDeclarativePage(DataPageName, tools.getParameterPage());

Executing the above API call does not mean that the Data Page will be shown or available in the Clipboard. However, it will be loaded into the Clipboard on its first reference.



Provide API details  (
loadAsyncDeclarativePage) to load the Data Page asynchronous.

Suggest Edit

Published August 24, 2015 - Updated October 8, 2020

Have a question? Get answers now.

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