<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Survey123 with Collector: set geotrace in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784065#M6804</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Arcade expressions very similar, mostly you need to substitute 'rings' for 'paths':&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var geom = Geometry($feature);&lt;BR /&gt;var firstpart = geom.rings[0];&lt;BR /&gt;var outparts = [];&lt;BR /&gt;var counter = 0;&lt;BR /&gt;for (var pt in firstpart){&lt;BR /&gt; var ptstr = Concatenate(firstpart[pt].y, " ", firstpart[pt].x);&lt;BR /&gt; outparts[counter]= ptstr;&lt;BR /&gt; counter = counter + 1; &lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;return Concatenate(outparts, ";")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm planning on publishing these in&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Esri/arcade-expressions" title="https://github.com/Esri/arcade-expressions"&gt;GitHub - Esri/arcade-expressions: ArcGIS Arcade expression templates for all supported profiles in the ArcGIS platform.&lt;/A&gt;&amp;nbsp;&amp;nbsp;in the near future.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Oct 2019 17:42:24 GMT</pubDate>
    <dc:creator>JamesTedrick</dc:creator>
    <dc:date>2019-10-02T17:42:24Z</dc:date>
    <item>
      <title>Survey123 with Collector: set geotrace</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784059#M6798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there a way to pass the location of a line in collector&amp;nbsp;"Aurora" to Survey123 in the same way of passing the location to a geopoint in survey123 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to great thread&amp;nbsp;&lt;A href="https://community.esri.com/groups/survey123/blog/2016/07/30/understanding-survey123s-custom-url-scheme"&gt;https://community.esri.com/groups/survey123/blog/2016/07/30/understanding-survey123s-custom-url-scheme&lt;/A&gt;&amp;nbsp; from &lt;A _jive_internal="true" href="https://community.esri.com/people/ichivite-esristaff"&gt;https://community.esri.com/people/ichivite-esristaff&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A _jive_internal="true" href="https://community.esri.com/people/JTedrick-esristaff"&gt;https://community.esri.com/people/JTedrick-esristaff&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2019 19:45:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784059#M6798</guid>
      <dc:creator>Marc-AndreBedard</dc:creator>
      <dc:date>2019-04-29T19:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 with Collector: set geotrace</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784060#M6799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marc-Andre,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What aspect of the line do you want to bring into Survey123? &amp;nbsp;I would take a look at the Geometry functions in&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/arcade/function-reference/" title="https://developers.arcgis.com/arcade/function-reference/"&gt;Arcade Function Reference | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;- you could include these as an attribute expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2019 22:27:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784060#M6799</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2019-04-30T22:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 with Collector: set geotrace</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784061#M6800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your quick response.&lt;/P&gt;&lt;P&gt;I would like to "copy" the geometry from collector to the geotrace in Survey123.&lt;/P&gt;&lt;P&gt;I have a map containing roads and I want to start a survey&amp;nbsp;on a specific segment.&lt;/P&gt;&lt;P&gt;So from&amp;nbsp;collector, I pass via arguments certain fields that I want from Collector to Survey via the&amp;nbsp;survey123s-custom-url-scheme. E.g.: Road name, owner,...&lt;/P&gt;&lt;P&gt;We currently have multiple maps and surveys that use custom url scheme with "point" entities. So the XY coordinates are pass to the survey in the geopoint.&lt;/P&gt;&lt;P&gt;So, I would like to do the same thing but with a line in collector to a geotrace in survey123.&lt;/P&gt;&lt;P&gt;Is it currently possible and supported ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 May 2019 20:15:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784061#M6800</guid>
      <dc:creator>Marc-AndreBedard</dc:creator>
      <dc:date>2019-05-01T20:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 with Collector: set geotrace</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784062#M6801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Copying the full geometry is a little more complicated- to begin with&amp;nbsp;geotrace support is in beta in Survey123. &amp;nbsp;Survey123 will&amp;nbsp;want the incoming coordinates to&amp;nbsp;&lt;/P&gt;&lt;P&gt;y1 x1;y2 x2;y3 x3;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you would need an Arcade function to process the shape vertices into this format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2019 00:13:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784062#M6801</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2019-05-02T00:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 with Collector: set geotrace</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784063#M6802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marc-Andre,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had a bit of time to work this out - this should provide the line. &amp;nbsp;There are some issues with more complex lines, as they can consist of multiple parts:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var geom = Geometry($feature);
var outparts = [];
var counter = 0;
for (var p in geom.paths) {
 var thispath = geom.paths
;
 for (var pt in thispath) {
   var ptstr = Concatenate(thispath[pt].y, " ", thispath[pt].x);
   outparts[counter]= ptstr;
   counter = counter + 1;
 } 
}

return Concatenate(outparts, ";");&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:54:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784063#M6802</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2021-12-12T16:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 with Collector: set geotrace</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784064#M6803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks James&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What would be the syntax if we want to pass a polygon geometry from Collector to a Geoshape question in Survey123?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Oct 2019 03:31:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784064#M6803</guid>
      <dc:creator>ChrisRoberts2</dc:creator>
      <dc:date>2019-10-02T03:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 with Collector: set geotrace</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784065#M6804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Arcade expressions very similar, mostly you need to substitute 'rings' for 'paths':&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var geom = Geometry($feature);&lt;BR /&gt;var firstpart = geom.rings[0];&lt;BR /&gt;var outparts = [];&lt;BR /&gt;var counter = 0;&lt;BR /&gt;for (var pt in firstpart){&lt;BR /&gt; var ptstr = Concatenate(firstpart[pt].y, " ", firstpart[pt].x);&lt;BR /&gt; outparts[counter]= ptstr;&lt;BR /&gt; counter = counter + 1; &lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;return Concatenate(outparts, ";")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm planning on publishing these in&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Esri/arcade-expressions" title="https://github.com/Esri/arcade-expressions"&gt;GitHub - Esri/arcade-expressions: ArcGIS Arcade expression templates for all supported profiles in the ArcGIS platform.&lt;/A&gt;&amp;nbsp;&amp;nbsp;in the near future.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Oct 2019 17:42:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784065#M6804</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2019-10-02T17:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 with Collector: set geotrace</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784066#M6805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks James&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got that working, can I assume though that we would need to convert this into Lats and Longs in order to parse it through to a geoshape question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have built this link and although it opens up the appropriate survey and&amp;nbsp;does contain the coordinates, is doesn't create the geoshape.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also tried substituting center for geoshape and the geoshape question name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arcgis-survey123://?itemID=6ffa91c679cd4ec99a6482e70dd3158e&amp;amp;center=-4368437.09908237%2015568468.47895944%3B-4368478.018118211%2015569744.148226732%3B-4368584.9584379345%2015569765.78726955%3B-4369031.402026243%2015569856.124205573%3B-4369455.085184722%2015569941.862870062%3B-4369426.875276136%2015568806.965103844%3B-4368476.830919922%2015568477.717157682%3B-4368437.09908237%2015568468.47895944&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to add, I have managed to get the script to convert to lat and longs, but its still not creating a geoshape in Survey123.&amp;nbsp; Is the something else in the url OR the form that needs to be done in order to construct the shape?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arcgis-survey123://?itemID=6ffa91c679cd4ec99a6482e70dd3158e&amp;amp;center=-34.926006640680235%20138.59669421630525%3B-34.92639395082917%20138.59672384658316%3B-34.926403392567615%20138.59653796524657%3B-34.92640749222722%20138.59645756316633%3B-34.92642486038284%20138.59611928621797%3B-34.926311593671414%20138.5961108695519%3B-34.92627059577672%20138.5961077648081%3B-34.92603749657436%20138.59608996445877%3B-34.926006640680235%20138.59669421630525&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Oct 2019 23:06:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784066#M6805</guid>
      <dc:creator>ChrisRoberts2</dc:creator>
      <dc:date>2019-10-02T23:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 with Collector: set geotrace</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784067#M6806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Yes, the coordinates need to be &lt;EM&gt;latitude&lt;/EM&gt; and &lt;EM&gt;longitude&lt;/EM&gt;&amp;nbsp;(decimal degrees, expected SRID is WGS1984 (4326) ). &amp;nbsp;This is most easily accomplished by creating your web map with a 4326-based basemap (Esri provides several to comply with organizations that have mandatory requirements to use WGS1984).&lt;/P&gt;&lt;P&gt;- You should not use the center parameter (which conceptually, would not make sense to pass a non-point object); use field:&amp;lt;fieldname&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an example, take a look at&amp;nbsp;&lt;A class="link-titled" href="https://www.arcgis.com/home/item.html?id=9197d8545a214fe9829e95aa095302ec" title="https://www.arcgis.com/home/item.html?id=9197d8545a214fe9829e95aa095302ec"&gt;https://www.arcgis.com/home/item.html?id=9197d8545a214fe9829e95aa095302ec&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2019 17:07:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784067#M6806</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2019-10-07T17:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 with Collector: set geotrace</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784068#M6807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome!&amp;nbsp; Cracked it!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2019 21:39:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784068#M6807</guid>
      <dc:creator>ChrisRoberts2</dc:creator>
      <dc:date>2019-10-07T21:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 with Collector: set geotrace</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784069#M6808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect !&lt;/P&gt;&lt;P&gt;Arcade expression combined with a WGS84 basemap really did the trick !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2019 13:39:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784069#M6808</guid>
      <dc:creator>Marc-AndreBedard</dc:creator>
      <dc:date>2019-12-16T13:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 with Collector: set geotrace</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784070#M6809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey! I've been trying to figure this out, but it seems I don't have permission to view your survey - does the shape text translate to a shape on a map within the Survey123 form, or is it simply saved as text?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2020 22:09:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784070#M6809</guid>
      <dc:creator>TaraHaynes</dc:creator>
      <dc:date>2020-01-09T22:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 with Collector: set geotrace</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784071#M6810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Was this ever&amp;nbsp;solved? Im trying to pass the &lt;SPAN style="background-color: #ffffff;"&gt;coordinates&lt;/SPAN&gt; for a polygon via url but no luck on getting it to show up on the map within the survey.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;?field:&amp;lt;geoshape field name&amp;gt;=47.31507205963135%20-122.41456244885921;47.314385414123535%20-122.41456244885921&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2020 01:20:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784071#M6810</guid>
      <dc:creator>RustyCook</dc:creator>
      <dc:date>2020-10-08T01:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 with Collector: set geotrace</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784072#M6811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works for me.&amp;nbsp; Below is the Arcade script I created:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;var geom = Geometry($feature);&lt;BR /&gt; var firstpart = geom.rings[0];&lt;BR /&gt; var originShift = 2.0 * PI * 6378137.0 / 2.0;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;var outparts = [];&lt;BR /&gt; var counter = 0;&lt;BR /&gt; for (var pt in firstpart){&lt;BR /&gt; &amp;nbsp; &amp;nbsp; var long = (firstpart[pt].x / originShift) * 180.0;&lt;BR /&gt; var lat = (firstpart[pt].y / originShift) * 180.0;&lt;BR /&gt; lat = 180.0 / PI * (2.0 * Atan( Exp( lat * PI / 180.0)) - PI / 2.0);&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;var lat =Round(lat, 5)&amp;nbsp;&lt;BR /&gt; var long =Round(long, 5)&lt;BR /&gt; var ptstr = Concatenate(lat, " ", long);&lt;BR /&gt; outparts[counter]= ptstr;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Then create a hyperlink in the pop up:&amp;nbsp; "arcgis-survey123://?itemID=xxxxxx&amp;amp;amp;field:Polygon={expression/expr0}"&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;With Polygon being the geotrace question in the survey&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;You might notice in my Arcade that I round the lat and long returns down to 5 decimal places.&amp;nbsp; I found that leaving them as default would often fail for slightly complex polys which I think is due to the overall length of the url it produces.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hope that helps&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Chris&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2020 01:31:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784072#M6811</guid>
      <dc:creator>ChrisRoberts2</dc:creator>
      <dc:date>2020-10-08T01:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 with Collector: set geotrace</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784073#M6812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! Could you share what the url looks like, just the geometry part? Im passing the geometry through the REST API&amp;nbsp;so I may have to format it within the script before passing it over in a similar fashion just different language. Also Im using a geoshape, not trace. Do you know if thats possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2020 13:40:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784073#M6812</guid>
      <dc:creator>RustyCook</dc:creator>
      <dc:date>2020-10-08T13:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 with Collector: set geotrace</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784074#M6813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Arcade expression is for the geoshape question, sorry miss typed there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is one that copies a selected parcel in Explorer and parses the polygon to a Survey123 form (the bit in italics is what you want I think).&amp;nbsp; Note I also capture the centroid of the Parcel so I can perform a reverse geocode in Survey123 to get the address&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arcgis-survey123://?itemID=xxx&amp;amp;field:dcdbid_1=F112784A2&amp;amp;field:ct=CT&amp;amp;field:volume=5203&amp;amp;field:folio=279&amp;amp;f&lt;EM&gt;ield:LandholderLiaisonParcels_polygon=-35.03596%20138.83725%3B-35.03959%20138.8346%3B-35.03807%20138.83162%3B-35.0355%20138.83349%3B-35.03549%20138.83348%3B-35.03446%20138.83422%3B-35.03596%20138.83725&lt;/EM&gt;&amp;amp;field:longitude=138.8344310701019&amp;amp;field:latitude=-35.03701676138787&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2020 21:22:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784074#M6813</guid>
      <dc:creator>ChrisRoberts2</dc:creator>
      <dc:date>2020-10-08T21:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 with Collector: set geotrace</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784075#M6814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Chris for the help! So I tested it but it &lt;SPAN style="background-color: #ffffff;"&gt;doesn't translate to a shape on a map within the Survey form; is it just saved as text in the background?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2020 13:37:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784075#M6814</guid>
      <dc:creator>RustyCook</dc:creator>
      <dc:date>2020-10-09T13:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 with Collector: set geotrace</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784076#M6815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rusty&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure why its not working for you, perhaps you could share the xlsform, and if I get a chance I'll have a look and see if there is anything obvious? If you parse the coordinates to the appropriate geoshape question in the form then in&amp;nbsp;&lt;EM&gt;should&amp;nbsp;&lt;/EM&gt; work&amp;nbsp; -&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;f&lt;/SPAN&gt;&lt;EM style="background-color: #ffffff; border: 0px;"&gt;ield:&lt;STRONG&gt;LandholderLiaisonParcels_polygon&lt;/STRONG&gt;=-35.03596%20138.83725%3B-35.03959%20138.8346%3B-35.03807%20138.83162%3B-35.0355%20138.83349%3B-35.03549%20138.83348%3B-35.03446%20138.83422%3B-35.03596%20138.83725&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Oct 2020 20:18:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784076#M6815</guid>
      <dc:creator>ChrisRoberts2</dc:creator>
      <dc:date>2020-10-11T20:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 with Collector: set geotrace</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784077#M6816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached is what I have. I haven't built this out as I'm only using this as my test/sandbox survey.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;?field:geofence=-35.03596%20138.83725%3B-35.03959%20138.8346%3B-35.03807%20138.83162%3B-35.0355%20138.83349%3B-35.03549%20138.83348%3B-35.03446%20138.83422%3B-35.03596%20138.83725&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for taking a look!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2020 12:03:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/784077#M6816</guid>
      <dc:creator>RustyCook</dc:creator>
      <dc:date>2020-10-12T12:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 with Collector: set geotrace</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/1263303#M47757</link>
      <description>&lt;P&gt;James - I've been trying to get this to work in my data, but cannot get the custom url to pass the geometry of a line to the survey. It's passing other field attributes, so I know the url syntax is working.&lt;/P&gt;&lt;P&gt;When I test the 'Shape as String' expression I get really weird values. Could this be my problem? If so, how is it coming up with these coordinates and how can I make it stop?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AprilChipman_0-1677708053708.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/64105iC5FFE92619420EBA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AprilChipman_0-1677708053708.png" alt="AprilChipman_0-1677708053708.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 22:01:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-with-collector-set-geotrace/m-p/1263303#M47757</guid>
      <dc:creator>AprilChipman</dc:creator>
      <dc:date>2023-03-01T22:01:06Z</dc:date>
    </item>
  </channel>
</rss>

