Community
I'm needing to call fields for calculations through a loop. I'm struggling to find a way to increment through fields via a variable. Example below.
item.TEST[x] where x would be the variable to increment
Solved! Go to Solution.
Solved by tony.mandatori. Go to Solution.
There is a good example of this in the Octopart Integration that comes OOTB.
for (var i = 1; i <= 5; i++){ var mpn = item['MPN' + i]; ... }
This would loop through the AML fields which are called MPN1, MPN2 etc.