Reference Error: x is not defined in expression: x

870
2
Jump to solution
08-18-2023 06:18 AM
MariusVerdes
New Contributor III

Hello everyone,

Hope you are all doing great. He got 4 surveys that are created based on the same feature layer from our ArcGIS Enterprise and recently I got an error that says "Reference Error: x is not defined in expression: x"

And I don't know how to solve it. Each of these surveys has set a default value for the field "country" to ease the user from choosing this every time. I tried to create another survey based on the same feature layer with the same configuration but without the default value for country and the error is gone. But I want to have a value set for the country depending on each survey.

Does anyone know how to resolve this issue?

Cheers!

0 Kudos
1 Solution

Accepted Solutions
smukahhal
New Contributor II
0 Kudos
2 Replies
smukahhal
New Contributor II
0 Kudos
MariusVerdes
New Contributor III

Hi @smukahhal ,

Thank you very much. Indeed the instance_name column was the issue here. It is weird to be honest because it was set up like that for a few months and the reference error started to pop-up just 3 weeks ago.

Anyway, thank you again.

0 Kudos