param.PageListIndex
I would like to find out which pagelist I'm in using a When rule. For example, I have the following structure:
pyWorkPage.Action.ActionComponents(1)
pyWorkPage.Action.ActionComponents(2)
pyWorkPage.Action.ActionComponents(3)
pyWorkPage.Action.ActionComponents(4)
I need to know if I am in index 1, 2, etc
If I am in index 1, I will display the data for item 1. If in 2, display the data for 2 and so on.
I am using a When rule in the visibility control for a dynamic layout to do this.
How do I use param.PageListIndex in this situation? I can't use pyWorkPage.Action.ActionComponents().PageListIndex = 1 in my When rule.
Is there a better way to do this?