Select to view content in your preferred language

Pulldata@layer TypeError: Cannot call method 'toString' of undefined in expression

135
0
03-13-2025 08:02 AM
PanGIS
by
Frequent Contributor

Hello!

 

Error when using pulldata@layer.

I've use this function so many times that I am lost, I don't know what to look for. Because I do not see any wrong, any difference from other forms that work.

I also copied the calculation from the Survey template to be 110% sure.

 

my calculation:

pulldata("@layer", "getValueAt", "name", 'https://services......./FeatureServer/0', ${polygon})

 

TypeError: Cannot call method 'toString' of undefined in expression: pulldata("@layer", "getValueAt", "attributes.name", 'serviceURL/FeatureServer/0', /xyzx

The polygon is a geoshape question.

I tested with more that one layer, from 2 different orgs, different level of sharing till public  even if I am the owner of the layer and admin too.

I was working with Connect 3.20, now upgraded to 3.22, same output.

 

Thanks!

Tags (2)
0 Kudos
0 Replies