AnsweredAssumed Answered

Arcade query syntax error Unexpected Token

Question asked by ksmith06 on Nov 24, 2017
Latest reply on Nov 27, 2017 by ksmith06

I'm still fairly new to Arcade and Javascript. I'm trying to write an Arcade script for my pop-up, and am trying to follow the info in this help page

Arcade - expression language | Guide | ArcGIS API for JavaScript 3.22 


where it says this:

"First, write the Arcade expression in a script tag with a unique ID."


I then copied the script sample to edit, which starts with the <script> tag. But in Arcade I am getting the error message 'unexpected token' and it looks like Arcade doesn't read any tag like this <>. I've tried to copy whole pieces of javascript headers etc but it always shows that error. 

Thanks for any help.