0
Завершен

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

Shruti Soni 1 год назад в Studio обновлен Ashley Lewis 7 месяцев назад 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.

Ответ

+1
Ответ

Use Select and Apply Tool

Image 1087

На рассмотрении

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. 

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

Thank you so much for the help.

Сервис поддержки клиентов работает на платформе UserEcho