Arcade Data Expressions: Unable to execute Arcade script

1106
1
08-04-2021 03:05 PM
JennyKuan
New Contributor III

Hi,

Can anyone provide some insight as to why I am unable to execute my Arcade Expression? I can successfully test it but it will not let me execute it. I just learned how to use Data Expressions today with help from this community so I am very green. 

Here's what my data expression looks like, while returning the correct number for "Count":

var features = FeatureSetByPortalItem(Portal('https://arcgis.com'), '5a735badf3114a3ba63e2a01b3cb1a68', 0, ['ACTIVE_ELE'], false);
Count(Features);

JennyKuan_0-1628114618262.png

Then, when I press done and return to the previous page, I get this message:

JennyKuan_1-1628114694564.png

 

This isn't the final script I want to use but I'm just playing with things for the time being. 

 

Thank you!

Jenny

 

0 Kudos
1 Reply