In for each loop there should Index and that should be supported in Recordset or Array
Dear Team,
For Instance,
[[@productDetails.products([[Index]]).MainPageImage]]
--> now this Index will be dynamic and will be evaluated in for each loop.
[[Recordset([[Index]]).Name]] --> now this Index will be dynamic and will be evaluated in for each loop.
Answer
Please explain what you mean. Are you wanting [[index]] set to the value that is being used at the time so you can use it else where?
yes.
For example , If I am using for each loop with range from 1 to 6.
and steps are as below:
[[@Detai.pro([[Index]]).na]] --> this index will be 1 to 6
that means
[[@Detai.pro(1).na]] = ABC
[[@Detai.pro(2).na]] = ABC
[[@Detai.pro(3).na]] = ABC
[[@Detai.pro(4).na]] = ABC
[[@Detai.pro(5).na]] = ABC
[[@Detai.pro(6).na]] = ABC
Here @Detai is Object ,under that there is one array called pro and na is variable name.
Now dont have any such functionality in WW, if we have then please guide for the steps.
Okay , Let me try with this , I will get back here.
Thank you so much for the help.
Customer support service by UserEcho
Use Select and Apply Tool