0
COMPLETADO

In for each loop there should Index and that should be supported in Recordset or Array

Shruti Soni hace 1 año en Studio actualizado por Ashley Lewis hace 7 meses 5

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.

Respuesta

+1
Respuesta

Use Select and Apply Tool

Image 1087

En revisión

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:

Image 1086


[[@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. 

+1
Respuesta

Use Select and Apply Tool

Image 1087

Okay , Let me try with this , I will get back here.

Thank you so much for the help.