Hi, I have a problem about using Arcade .
When I run this code, I get an error message
I don't know how to fix it.
Thanks
var contents = FeatureSetByAssociation($feature, 'connected')
var updateList = []
var counter = 0
for (var content in contents) {
updateList[counter] = {
'globalid': content.globalid,
'attributes': {
'topageno': frompageno,
},
}
counter++
}
return {
'result': $feature.frompageno,
'edit': [
{
'className': 'xyz',
'updates': updateList,
},
],
}
