AndersS1
(Anders Sellberg)
1
I am using below code in a HTML rule to access information on a datapage:
<pega:withPage name="D_DatapageTest">
</pega:withPage>
This datapage requires a parameter called “Param.ID”. I need to set this parameters value to the value in pyWorkPage.ID
How can I pass this parameter to the datapage? Is there a way to set this parameters value?
@AndersS1 Can you make of this scriptlet
<%
tools.putParamValue("pyGUID", tools.getPrimaryPage().getString("pyGUID"));
ParameterPage paramPage = tools.getParameterPage();
ClipboardPage newDeclarePage = tools.findPage("D_Drinks",paramPage);
%>
AndersS1
(Anders Sellberg)
3
@BhanuPrakash_G
I ended up just using the first line:
<%
tools.putParamValue("pyGUID", tools.getPrimaryPage().getString("pyGUID"));
%>
Works great, thank you very much!