Select to view content in your preferred language

Can't get a Field Calculator to accept point()

82
1
Jump to solution
Tuesday
JeffSilberberg
Frequent Contributor

Some days -- 

I have the following in a geoEvent Field Calculation -- 

Point({'x': $feature.Lon, 'y': $feature.Lat, 'spatialReference': {'wkid': 4326}})

When I try to publish the RTA, it tells me that it can not parse the : at position 11.  

I have checked this a dozen different ways, and it appears correct.   What am I missing?

Any help appreciated!

 

0 Kudos
1 Solution

Accepted Solutions
JeffSilberberg
Frequent Contributor

 

Never mind, changed from Arcade to toPoint(X, Y, SpatialRef).

 

 

View solution in original post

0 Kudos
1 Reply
JeffSilberberg
Frequent Contributor

 

Never mind, changed from Arcade to toPoint(X, Y, SpatialRef).

 

 

0 Kudos