Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Load-DataPage method does not accept param values

SA-13257

Summary


 
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.

 

Resolution


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

Published August 24, 2015 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration 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 Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us