Question


Health First
US
Last activity: 13 Aug 2018 5:16 EDT
Can I use IsInPageList function to compare a value to a data page?
The data page refers to a data type that holds a couple of records. What I want to do is compare a value against this data type and see if there's a match.
Thanks in advance!
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution


CollabPartnerz
IN
Hi Saml,
you can use D_DataPageTest.
@IsInPageList(Your Property value,"Your Property",D_DataPageTest).
This should resove your issue.


CollabPartnerz
IN
If your DataPage is of type list then you can use this function.


Health First
US
Hello Gayatri,
So when I use the datapage as the clipboard property, would this be the correct syntax to pass it: D_DataPageTest.pxResults ?
Accepted Solution


CollabPartnerz
IN
Hi Saml,
you can use D_DataPageTest.
@IsInPageList(Your Property value,"Your Property",D_DataPageTest).
This should resove your issue.


Pegasystems Inc.
IN
Yes,you can use this function as gayathri said if your DataPage is of type list.


Health First
US
Hi Vinay,
Okay so say the property 'DataPageProperty' to compare that's in the data page 'D_DataPageTestList' should the parameters be like this: @.IsInPageList("lookForThis", DataPageProperty, D_DataPageTestList) ?


Pegasystems Inc.
IN
Hi,
Yes its correct.
@.IsInPageList("lookForThis", DataPageProperty, D_DataPageTestList)
lookForThis-- the value you are looking for
DataPageProperty--look at (Should be under pagelist definition class)
D_DataPageTestList-- Page List Ex:D_DataPageTestList.pxResults
Regards,
Vinay Reddy