Question

1
Replies
161
Views
Close popover
Jagtap Jayaprakash Jagtap (TARUNJAGTAP)
Cognizant

Cognizant
CA
TARUNJAGTAP Member since 2011 12 posts
Cognizant
Posted: December 5, 2019
Last activity: December 19, 2019
Closed
Solved

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.

Help is highly appreciated...

***Edited by Moderator Marissa to update platform capability tags****

Pega Platform Case Management
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.