Select to view content in your preferred language

Survey123 Connect Pull location data for a geopoint from a hosted feature layer

43
1
yesterday
KeshavSingh
New Contributor

Hi there,

I was working on a project where I wanted to pull location data for a point from a hosted point layer. I was trying to use the pull data command, but it didn't return any value.

I tried to fix the UNITID, but still it doesn't return any value.

pulldata("@layer", "Latitude", "https://services8.arcgis.com/EnRf3TCZwFndmCJx/arcgis/rest/services/inspection/FeatureServer/0", "UNITID", "0737")

I may be using the wrong command here; can anyone please guide me?

0 Kudos
1 Reply
JillianStanford
Frequent Contributor

Hi,

If I'm understanding correctly, what works for me is to retrieve the location from a feature layer into a hidden field as JSON and then pull out the x and y from that.

JillianStanford_0-1731693441320.png

Does that work for you?

0 Kudos