Background:
While iterating in a pagelist
Example : EmployeeList
To refer to page at that point: we use EmployeeList(<CURRENT> )
But how to get the index if we have to write some condition, like at index= nth position => achieve some logic.
Answer : pxListSubscript
Pega provides one property called pxListSubscript which is declaratively calculated and kept at each page level in a pagelist.
We can use it instead of setting a property and using it for same purpose.
Feel free to share if you have any other approaches.
No comments:
Post a Comment