You can use the 'LengthOfPageList' function under the Utilities Library or 'SizeOfPropertyList' function under the Utilities Library or Count function under Default Library to get the size of pagelist property.
My Equipment Pagelist in embedded on the BudgetYear Pagelist which itself is present in the BudgetDetails class.
I can multiple years, so I need to calculate the size of the Equipment dynamically and I was thinking of passing the year as a parameter.
Also the Equipment Pagelist itself can have another pagelist. So it is a three level pagelist. If I can find the size of my Equipment pagelist dynamically, I have a reference to that list and I can find the other Pagelists on the Equipment Pagelist.
Hope you understand my requirement. Looking at my clipboard, can you please show me HOW to use the function.
Thanks for your reply. My context is not being picked up at run time. What can be the issue? How can I debug CONTEXT issues? I am unable to find the value unless I give the complete path i.e. @LengthOfPageList(pyWorkPage.BudgetInformation.BudgetYear(param.CurrentYear).Equipment),.