Hello all,
I have a survey form created in Survey123 using Geopoint. To make less effort in preparing offline maps within Survey123, I hope to utilize Field Maps so that field users can download their own offline map areas before going to the field.
This is my workflow.
1. Field users will create a point using Field Maps offline map.
2. point x, y will be calculated in lat and long using Arcade.
3. The value above will be used to create a survey123 url using Arcade.
this is my syntax
<a href="arcgis-survey123://?itemID=...&field:strloss={CIVIC_NUMBER}¢er={expression/expr2},{expression/expr3},20">go to survey123 with XY location</a>
==> here expr2 is lat and expr3 is long.
However, passing x, y point to Geopoint does not see working. Regardless it's done online or offline, it picks up GPS location. Do I miss something?
One of the document by @JamesTedrick shows the parameter as "center:" instead of "center=". I used both but had no luck.
Kerry
Solved! Go to Solution.
Have you seen this post. Bit of a trick of using Arcade. I use static URLs so that way in there also - I hope this works.
Have you seen this post. Bit of a trick of using Arcade. I use static URLs so that way in there also - I hope this works.
Hello Doug, thank you for your comment. I took a look at my code again compared to what you linked there, and found the reason why mine did not work. It was because I kept lat and long as numbers, not as text.
In my code the lat and long variables are returned in the number format, and I used them directly to create the url. After I get the values in text and used to create a url, it finally worked.