Question
Cognizant
CA
Last activity: 19 Dec 2019 10:21 EST
How to refer a property value in declare page paramater value
Hi,
pega 7.2
how to refer to property value in the declare pages parameter value . for example as below when i try to pass a clipboard value as parameter input, and refer this declare page in a section, i get the error
D_GetBlahBlahValue[key:pyWorkPage.CustomerID].pyLabel
This record has
3
Errors
in
1
place
—
Test compilation failed: ----------
1. ERROR in /Rule_HTML_Section_szxczccStream_20191204T205917_622_GMT.java (at line 1772)
cellPage.putString("pyValue","#~"+pega_uiengine_harness.pzConvertToRDLIndex(tools.getProperty("D_GetBlahBlahValue[Key:pyWorkPage.pyID].pyLabel").getReference(),"")+"~#");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Syntax error on tokens, delete these tokens
----------
2. ERROR in /Rule_HTML_Section_szxczcc_Stream_20191204T205917_622_GMT.java (at line 1792)
ct_controlAction.trackValueChanges(tools.getProperty("D_GetBlahBlahValue[Key:pyWorkPage.pyID].pyLabel"), -1);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Syntax error on tokens, delete these tokens
----------
3. ERROR in /Rule_HTML_Section_szxczcc_Stream_20191204T205917_622_GMT.java (at line 1816)
pxDisplayText_1("D_GetBlahBlahValue[Key:pyWorkPage.pyID].pyLabel",64,"","","Text");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Syntax error on tokens, delete these tokens
----------
3 problems (3 errors)
Compile failed.
Hi,
pega 7.2
how to refer to property value in the declare pages parameter value . for example as below when i try to pass a clipboard value as parameter input, and refer this declare page in a section, i get the error
D_GetBlahBlahValue[key:pyWorkPage.CustomerID].pyLabel
This record has
3
Errors
in
1
place
—
Test compilation failed: ----------
1. ERROR in /Rule_HTML_Section_szxczccStream_20191204T205917_622_GMT.java (at line 1772)
cellPage.putString("pyValue","#~"+pega_uiengine_harness.pzConvertToRDLIndex(tools.getProperty("D_GetBlahBlahValue[Key:pyWorkPage.pyID].pyLabel").getReference(),"")+"~#");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Syntax error on tokens, delete these tokens
----------
2. ERROR in /Rule_HTML_Section_szxczcc_Stream_20191204T205917_622_GMT.java (at line 1792)
ct_controlAction.trackValueChanges(tools.getProperty("D_GetBlahBlahValue[Key:pyWorkPage.pyID].pyLabel"), -1);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Syntax error on tokens, delete these tokens
----------
3. ERROR in /Rule_HTML_Section_szxczcc_Stream_20191204T205917_622_GMT.java (at line 1816)
pxDisplayText_1("D_GetBlahBlahValue[Key:pyWorkPage.pyID].pyLabel",64,"","","Text");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Syntax error on tokens, delete these tokens
----------
3 problems (3 errors)
Compile failed.
Help is highly appreciated...
***Edited by Moderator Marissa to update platform capability tags****