Select to view content in your preferred language

Extract Input Address Text & Lat/Long from Geocoder > Pass to S123 as URL Parameter

311
0
07-05-2024 09:55 AM
KyleGallagher16
Regular Contributor

Referencing the following post to see where Arcade could be used as a solution:

https://community.esri.com/t5/arcgis-instant-apps-questions/passing-location-information-from-zone-l...

1) Within a Zone Lookup Instant App, user inputs address text into ArcGIS World Geocoding Service.

2) Based on the Zone Lookup analysis, a specific attribute expression containing a S123 link is included.

3) Need to extract and pass the user input address text and lat/long coords into the S123 URL as parameters so the address is shown as text above a map centered on the address lat/long. The current solution forces the user to re-input their address in S123.

Looking at the Chrome Console, the address text appears in the HTML. Can Arcade be used to extract this text and its corresponding lat/long coordinates?

Thanks!

0 Kudos
0 Replies