Question

In a PageList index number as a parameter
Hi friends,
How we can set a property value in a PageList with random index number
for example, am getting random number by using OOTB function @round(random(1,9) = param.randomNo.
i want to set to a property value like:
Note: the pagelist is already there with 9 indeces and some of the index has empty cells, on there i wanna set it randomly.
pagelist(param.randomNo).pyLabel == "abcd"
i tested it, but having some error:
So, then is this the way to set?
or is there any other way to??
Please give any suggest of this.
Thanks in Advance.