var vals=[];
for(var i=0;i<testArray.length;i++){
vals.push(testArray[i].val);
}
So my array is a string, got to a Text column from external API. And that’s why I decided to use JSON.parse() first in the JS column, but it doesn’t work.
Any advices from JS masters? Thank you in advance)
The JS column doesn’t accept arrays as parameters. If you’re passing a value that you want to be treated as an array, then the first part of your code needs to coerce it into an array using split or similar.