<?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: Custom URL parameters passing value to Collector? in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/custom-url-parameters-passing-value-to-collector/m-p/882718#M31019</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brent,&lt;/P&gt;&lt;P&gt;I am just now getting around to this and I am having a hiccup with the process - I can launch a Survey123 form, fill it out, then tap on my hyperlink to transfer the information, Collector Opens up, but I am having an issue with getting the point to be placed and attributes transferred?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder if it has to do with a unique display based on an attribute field; TlmtryPntType? DO I need to fully encode the answers that are being passed also? If so, then I'll need to add in some&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3152"&gt;Jeff Shaner&lt;/A&gt; or &lt;A href="https://community.esri.com/migrated-users/3233"&gt;Craig Gillgrass&lt;/A&gt;‌ do you have any ideas on this one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my original concat () string below that I was going to use for my hyperlink from Survey123 into Collector to start a new feature and pass attributes. I have taken out the "identifiers" on purpose and replaced with a series of "X".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;concat('&amp;lt;a href="arcgis-collector://?itemID=XXXXXXXXXXXXXXXXXXXXXXXX&amp;amp;center=',${lat},',',${lon},'&amp;amp;featureSourceURL=&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fservices3.arcgis.com%2FXXXXXXXXXXXXXX%2Farcgis%2Frest%2Fservices%2F2018_ESI_Mist_Net_Bat_Data%2FFeatureServer%2F2%26featureAttributes%3D" rel="nofollow" target="_blank"&gt;https://services3.arcgis.com/XXXXXXXXXXXXXX/arcgis/rest/services/2018_ESI_Mist_Net_Bat_Data/FeatureServer/2&amp;amp;featureAttributes=&lt;/A&gt;&lt;SPAN&gt;{"ProjectNumber":',${ProjectNumber},'"TlmtryPntType":Telemetry Intermediate Point,"Date":',${FormDate},'"BatID_Freq_Srchd":',${BatFreq_Searching},'}"&amp;gt;Link to Collector Telemetry Point&amp;lt;/a&amp;gt;')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my revised filly encoded; or possibly not, concat () string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;concat('&amp;lt;a href="arcgis-collector://?itemID=b0a360a4dc8749d9a0d88af86ceafdd5&amp;amp;center=',${lat},'%2C%20',${lon},'&amp;amp;featureSourceURL=&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fservices3.arcgis.com%2Fpmvd6IDs5lq7p0BT%2Farcgis%2Frest%2Fservices%2F2018_ESI_Mist_Net_Bat_Data%2FFeatureServer%2F2%26featureAttributes%3D%257B%2522ProjectNumber%2522%3A%27%2C%24" rel="nofollow" target="_blank"&gt;https://services3.arcgis.com/pmvd6IDs5lq7p0BT/arcgis/rest/services/2018_ESI_Mist_Net_Bat_Data/FeatureServer/2&amp;amp;featureAttributes=%7B%22ProjectNumber%22:',$&lt;/A&gt;&lt;SPAN&gt;{ProjectNumber},'%22TlmtryPntType%22:Telemetry%20Intermediate%20Point,%22Date%22:',${FormDate},'%22BatID_Freq_Srchd%22:',${BatFreq_Searching},'}"&amp;gt;Link to Collector Telemetry Point&amp;lt;/a&amp;gt;')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated as I'm trying to implement this for my field crews this week.&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 May 2018 18:41:10 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2018-05-21T18:41:10Z</dc:date>
    <item>
      <title>Custom URL parameters passing value to Collector?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/custom-url-parameters-passing-value-to-collector/m-p/882707#M31008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been playing around with linking to Collector from Survey123 and the &lt;A href="https://github.com/esri/collector-integration#documentation"&gt;GitHub documentation for Collector custom URL scheme &lt;/A&gt;shows that it is possible to both center on a coordinate and pass static attributes to a layer within a web map in Collector. The GitHub documentation however doesn't show how to pass values collected in Survey123 to Collector, similar to the way values can be passed from Collector to Survey123, just curious if this functionality has yet to be implemented or if someone has an example on how to center the map on the geopoint coordinate and send an attribute (GUID) value collected with Survey123 to a feature in Collector?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2017 16:38:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/custom-url-parameters-passing-value-to-collector/m-p/882707#M31008</guid>
      <dc:creator>BrentKinal1</dc:creator>
      <dc:date>2017-12-11T16:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Custom URL parameters passing value to Collector?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/custom-url-parameters-passing-value-to-collector/m-p/882708#M31009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/groups/survey123/blog/2016/07/30/understanding-survey123s-custom-url-scheme"&gt;Understanding Survey123s Custom Url Scheme&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best post documentation on how to do it so far. My go to.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2017 16:47:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/custom-url-parameters-passing-value-to-collector/m-p/882708#M31009</guid>
      <dc:creator>TiffanyRufo</dc:creator>
      <dc:date>2017-12-11T16:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: Custom URL parameters passing value to Collector?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/custom-url-parameters-passing-value-to-collector/m-p/882709#M31010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe they have updated the GitHub site for the Collector URL schema to include how to pass data into Collector.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Esri/collector-integration#documentation" title="https://github.com/Esri/collector-integration#documentation"&gt;GitHub - Esri/collector-integration: Multi Language repository that contains documentation and sample code for creating …&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will be looking into this as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 19:39:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/custom-url-parameters-passing-value-to-collector/m-p/882709#M31010</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-12-13T19:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Custom URL parameters passing value to Collector?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/custom-url-parameters-passing-value-to-collector/m-p/882710#M31011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tiffany and Mike, I have been working off both the links you sent. Unfortunately neither really explains if there is a way to dynamically write an attribute collected in S123 to Collector. The URL going from S123 to Collector is slightly different than the converse. The GitHub page does show how to write a static value from S123 to the attribute table in collector, which I have been testing so far without success so far. If I get it to work I think I can put something together using concat() to build the link to dynamically pull a value (a GUID) collected in S123 and populate it in the Collector feature, with the ultimate goal of having a relationship class built between the S123 feature and the Collector feature using the GUID. If I am ultimately successful I will share how I did it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 14:14:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/custom-url-parameters-passing-value-to-collector/m-p/882710#M31011</guid>
      <dc:creator>BrentKinal1</dc:creator>
      <dc:date>2017-12-15T14:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Custom URL parameters passing value to Collector?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/custom-url-parameters-passing-value-to-collector/m-p/882711#M31012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I might have sometime to play around with this also, but it will not be until after next week during our Holiday shutdown; it's the time that I our company shuts down and I get to develop and test away without interruptions, and if I happen to figure something out, then I'll post to this thread also.&lt;/P&gt;&lt;P&gt;Good Luck,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 18:39:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/custom-url-parameters-passing-value-to-collector/m-p/882711#M31012</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-12-15T18:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: Custom URL parameters passing value to Collector?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/custom-url-parameters-passing-value-to-collector/m-p/882712#M31013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all, was there every any further action in this thread that was not posted? I am attempting to do exactly the same process.&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 17:06:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/custom-url-parameters-passing-value-to-collector/m-p/882712#M31013</guid>
      <dc:creator>ScottKichman</dc:creator>
      <dc:date>2018-04-16T17:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Custom URL parameters passing value to Collector?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/custom-url-parameters-passing-value-to-collector/m-p/882713#M31014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brent, did you ever figure this out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 17:08:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/custom-url-parameters-passing-value-to-collector/m-p/882713#M31014</guid>
      <dc:creator>ScottKichman</dc:creator>
      <dc:date>2018-04-16T17:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: Custom URL parameters passing value to Collector?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/custom-url-parameters-passing-value-to-collector/m-p/882714#M31015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Scott,&lt;/P&gt;&lt;P&gt;I have not had the chance to work with this issue, but I have found that they have updated the URL schema for passing information into Collector app. The key will be creating a hyperlink that will concatenate a URL that represents the "expected" URL string that collector is listening for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within the link that I provided above; as you scroll down the page to here &lt;A class="link-titled" href="https://github.com/Esri/collector-integration#initiate-a-new-feature-collection-and-specify-attributes" title="https://github.com/Esri/collector-integration#initiate-a-new-feature-collection-and-specify-attributes" rel="nofollow noopener noreferrer" target="_blank"&gt;GitHub - Esri/collector-integration: Multi Language repository that contains documentation and sample code for creating …&lt;/A&gt; you will see the URL string that Collector is expecting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within this posting I discuss a way to create a URL link to send an email, but you can modify the "Hyperlink" in order to concatenate the sending of data from a Survey123 form into the Collector app.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/194609" target="_blank"&gt;Not your standard "Note" question; email link&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Really take some time to look at the structure of the URL for collector and understand how you can sub in your attribute field names and then the values being passed. You will need to know the URL to the Feature Service Layer along with the data field names (i don not believe you can use the alias field names in passing this information) and the values. When looking at collector you will need to substitute in the question name and then the answers of the questions; similar to my hyperlink for an email.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;Quick breakdown of this URL - arcgis-collector://?itemID=5d417865c4c947d19a26a13c7d320323&amp;amp;center=43.524080, 5.445545&amp;amp;featureSourceURL=http://sampleserver5a.arcgisonline.com/arcgis/rest/services/LocalGovernment/Recreation/FeatureServer/0&amp;amp;featureAttributes={”quality”:2,“observed”:1502917218285}&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;CODE&gt;This portion = the unique AGOL identifier for the Hosted Feature service "arcgis-collector://?itemID=5d417865c4c947d19a26a13c7d320323"
This is telling the Collector app to start the new feature at this coordinate pair "&amp;amp;center=43.524080, 5.445545"
This is telling collector which layer to start and write the information to; please note that the layer index at the end of the url "&amp;amp;featureSourceURL=http://sampleserver5a.arcgisonline.com/arcgis/rest/services/LocalGovernment/Recreation/FeatureServer/0"
These are the attributes being passed "&amp;amp;featureAttributes={”quality”:2,“observed”:1502917218285}"
Data field named "quality" and then the value to be written "2"
Data field named "observed" and then the value to be written (date in epoch time) "&lt;/CODE&gt;&lt;/CODE&gt;&lt;CODE&gt;1502917218285"&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Sorry that I cannot provide any further details or example currently as I have been playing catch up for the last month on a high priority project and developing these types of applications for our upcoming field season starting in less then a month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give it a shot and let me know if you are still having issue figuring things out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 17:02:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/custom-url-parameters-passing-value-to-collector/m-p/882714#M31015</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-12T17:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Custom URL parameters passing value to Collector?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/custom-url-parameters-passing-value-to-collector/m-p/882715#M31016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Scott,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did finally figure this out. Basically you have to build the URL within a concat function. The hard part was figuring out all of the html encoding: here is the reference that helped with that:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.w3schools.com/tags/ref_urlencode.asp" title="https://www.w3schools.com/tags/ref_urlencode.asp"&gt;HTML URL Encoding Reference&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Basically I built a Geodabase in Pro with a relationship class built between the survey and the polygon feature and then uploaded it as a AGOL feature service. The relationship was built between a GUID created in Survey123 which is then passed to Collector using the custom URL:&lt;/P&gt;&lt;P&gt;Here is the final statement that I ended up with:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;concat('&amp;lt;a href="arcgis-collector://?itemID=00x00xx0x0xx000x0x000000x00x0000&amp;amp;featureSourceURL=&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fservices6.arcgis.com%2FZZZzzZz1zzZZ1zzz%2Farcgis%2Frest%2Fservices%2FSPB_S123v1%2FFeatureServer%2F2%26featureAttributes%3D%257B%2522surveyPointID%2522%3A%2522%27%2C%24" rel="nofollow" target="_blank"&gt;https://services6.arcgis.com/ZZZzzZz1zzZZ1zzz/arcgis/rest/services/SPB_S123v1/FeatureServer/2&amp;amp;featureAttributes=%7B%22surveyPointID%22:%22',$&lt;/A&gt;&lt;SPAN&gt;{pointID},'%22%7D"&amp;gt;Create Survey Polygon&amp;lt;/a&amp;gt;')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Breaking it down:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;'&amp;lt;a href=......&amp;lt;/a&amp;gt;'&lt;/STRONG&gt; =&amp;nbsp; Hypertext reference&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;arcgis-collector://?itemID=00x00xx0x0xx000x0x000000x00x0000&amp;amp;featureSourceURL=&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fservices6.arcgis.com%2FZZZzzZz1zzZZ1zzz%2Farcgis%2Frest%2Fservices%2FSPB_S123v1%2FFeatureServer%2F2" rel="nofollow" target="_blank"&gt;https://services6.arcgis.com/ZZZzzZz1zzZZ1zzz/arcgis/rest/services/SPB_S123v1/FeatureServer/2&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;= web map id &amp;amp; polygon feature service url&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;featureAttributes=%7B%22surveyPointID%22:%22',${pointID},'%22%7D&amp;gt; &lt;/STRONG&gt;= write value from Survey123 "pointID" to polygon field "surveyPointID"&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;translates to: &lt;STRONG&gt;featureAttributes={"surveyPointID""',${pointID},'"}&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Create Survey Polygon &lt;/STRONG&gt;= hyper link text in Survey123&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have any questions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 13:53:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/custom-url-parameters-passing-value-to-collector/m-p/882715#M31016</guid>
      <dc:creator>BrentKinal1</dc:creator>
      <dc:date>2018-04-17T13:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Custom URL parameters passing value to Collector?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/custom-url-parameters-passing-value-to-collector/m-p/882716#M31017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since there is a URL to the HFS in the call does the call work offline?&amp;nbsp; Going from Collector to Survey123 does work offline -&amp;nbsp;but from Survey123 to Collector I am not sure if it just uses the URL to figure out the right layer or if it is going out to the net for something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 14:39:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/custom-url-parameters-passing-value-to-collector/m-p/882716#M31017</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2018-04-17T14:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Custom URL parameters passing value to Collector?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/custom-url-parameters-passing-value-to-collector/m-p/882717#M31018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you download the webmap it does work offline.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 15:03:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/custom-url-parameters-passing-value-to-collector/m-p/882717#M31018</guid>
      <dc:creator>BrentKinal1</dc:creator>
      <dc:date>2018-04-17T15:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Custom URL parameters passing value to Collector?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/custom-url-parameters-passing-value-to-collector/m-p/882718#M31019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brent,&lt;/P&gt;&lt;P&gt;I am just now getting around to this and I am having a hiccup with the process - I can launch a Survey123 form, fill it out, then tap on my hyperlink to transfer the information, Collector Opens up, but I am having an issue with getting the point to be placed and attributes transferred?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder if it has to do with a unique display based on an attribute field; TlmtryPntType? DO I need to fully encode the answers that are being passed also? If so, then I'll need to add in some&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3152"&gt;Jeff Shaner&lt;/A&gt; or &lt;A href="https://community.esri.com/migrated-users/3233"&gt;Craig Gillgrass&lt;/A&gt;‌ do you have any ideas on this one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my original concat () string below that I was going to use for my hyperlink from Survey123 into Collector to start a new feature and pass attributes. I have taken out the "identifiers" on purpose and replaced with a series of "X".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;concat('&amp;lt;a href="arcgis-collector://?itemID=XXXXXXXXXXXXXXXXXXXXXXXX&amp;amp;center=',${lat},',',${lon},'&amp;amp;featureSourceURL=&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fservices3.arcgis.com%2FXXXXXXXXXXXXXX%2Farcgis%2Frest%2Fservices%2F2018_ESI_Mist_Net_Bat_Data%2FFeatureServer%2F2%26featureAttributes%3D" rel="nofollow" target="_blank"&gt;https://services3.arcgis.com/XXXXXXXXXXXXXX/arcgis/rest/services/2018_ESI_Mist_Net_Bat_Data/FeatureServer/2&amp;amp;featureAttributes=&lt;/A&gt;&lt;SPAN&gt;{"ProjectNumber":',${ProjectNumber},'"TlmtryPntType":Telemetry Intermediate Point,"Date":',${FormDate},'"BatID_Freq_Srchd":',${BatFreq_Searching},'}"&amp;gt;Link to Collector Telemetry Point&amp;lt;/a&amp;gt;')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my revised filly encoded; or possibly not, concat () string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;concat('&amp;lt;a href="arcgis-collector://?itemID=b0a360a4dc8749d9a0d88af86ceafdd5&amp;amp;center=',${lat},'%2C%20',${lon},'&amp;amp;featureSourceURL=&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fservices3.arcgis.com%2Fpmvd6IDs5lq7p0BT%2Farcgis%2Frest%2Fservices%2F2018_ESI_Mist_Net_Bat_Data%2FFeatureServer%2F2%26featureAttributes%3D%257B%2522ProjectNumber%2522%3A%27%2C%24" rel="nofollow" target="_blank"&gt;https://services3.arcgis.com/pmvd6IDs5lq7p0BT/arcgis/rest/services/2018_ESI_Mist_Net_Bat_Data/FeatureServer/2&amp;amp;featureAttributes=%7B%22ProjectNumber%22:',$&lt;/A&gt;&lt;SPAN&gt;{ProjectNumber},'%22TlmtryPntType%22:Telemetry%20Intermediate%20Point,%22Date%22:',${FormDate},'%22BatID_Freq_Srchd%22:',${BatFreq_Searching},'}"&amp;gt;Link to Collector Telemetry Point&amp;lt;/a&amp;gt;')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated as I'm trying to implement this for my field crews this week.&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2018 18:41:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/custom-url-parameters-passing-value-to-collector/m-p/882718#M31019</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-05-21T18:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Custom URL parameters passing value to Collector?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/custom-url-parameters-passing-value-to-collector/m-p/882719#M31020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wrote a simple script (attached) that produces the URL (mentioned in this post by&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/195196"&gt;Mike J Bruening&lt;/A&gt;&amp;nbsp;and Brent Kinal)&amp;nbsp;to match between the fields in your Survey123 form to a layer in a web map in Collector.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're already familiar with working with the URL just fill the csv file with your fields, change the variables in the script to match your data and run the script to get the URL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For those who are not familiar, below is a step by step workflow to get the two apps talking to each other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;This methodology will allow you to enjoy the advantages of Survey123 in capturing form/text data, with the advantages of Collector in capturing geometries.&amp;nbsp;This method also allows you to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;associate&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;multiple geometries&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;with&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;one survey, which is impossible from Survey123.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It might seem like a long process but it's fairly straightforward and easy.&amp;nbsp;Steps 1-4 should already be accomplished anyway if you published and used your survey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Use&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;Transfer Survey123 inputs into a feature's&amp;nbsp;fields&amp;nbsp;in collector.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Workflow&lt;/SPAN&gt;:&lt;/P&gt;&lt;OL style="padding: 0px 0px 0px 30px;"&gt;&lt;LI style="margin: 0.2em 0px;"&gt;Create a survey.&lt;/LI&gt;&lt;LI style="margin: 0.2em 0px;"&gt;Note all the survey field names that you wish to write into the feature class attribute table (that will be created later in Collector).&lt;/LI&gt;&lt;LI style="margin: 0.2em 0px;"&gt;Create a feature layer with&amp;nbsp;matching fields into which the Survey123 data will be written to (field names can be different but make sure &lt;STRONG&gt;field&amp;nbsp;types&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;match). Make sure the feature class is editable.&lt;/LI&gt;&lt;LI style="margin: 0.2em 0px;"&gt;Add the feature class into a web map and download to Collector. Only fields visible in the popup&amp;nbsp;could be populated in later steps. Make sure in &lt;EM&gt;Settings&lt;/EM&gt; page that you can open map in Collector.&lt;/LI&gt;&lt;LI style="margin: 0.2em 0px;"&gt;In a CSV file, list the fields to match between the survey and the feature class (you can modify the attached CSV example).&lt;/LI&gt;&lt;LI style="margin: 0.2em 0px;"&gt;Run the attached script (after filling lines&amp;nbsp;24-28&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;with your input: path to the CSV, web map ID, feature class url, and survey location field).&lt;/LI&gt;&lt;LI style="margin: 0.2em 0px;"&gt;The script will produce a url (starting with&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&amp;lt;href...&lt;/EM&gt;). Copy the URL into a new row in your survey (paste the url in the 'Label' column). This row will be a hyperlink that will open collector and populate all the fields with your survey data.&lt;/LI&gt;&lt;LI style="margin: 0.2em 0px;"&gt;When&amp;nbsp;you finish the survey&amp;nbsp;click on this hyperlink. It will open Collector at the location of the survey and will allow drawing the feature with Collector, writing it into the specified layer. Fields from Survey123 will populate the feature layer fields in Collector.&lt;/LI&gt;&lt;LI style="margin: 0.2em 0px;"&gt;Draw the feature in Collector and click &lt;EM&gt;submit&lt;/EM&gt; to save to layer.&lt;/LI&gt;&lt;LI style="margin: 0.2em 0px;"&gt;Go back to Survey123 and submit survey.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that this&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;workflow&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;will results in a point layer created by the survey in Survey123, in addition to the feature layer which is updated in Collector (which&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;can be polygon/line/point).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any comments/feedback is welcome,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Uri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2020 02:57:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/custom-url-parameters-passing-value-to-collector/m-p/882719#M31020</guid>
      <dc:creator>UriGilad_EsriAu</dc:creator>
      <dc:date>2020-02-12T02:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: Custom URL parameters passing value to Collector?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/custom-url-parameters-passing-value-to-collector/m-p/1029502#M32671</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/195424"&gt;@UriGilad_EsriAu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Will this work if I want to pass survey123 data to an existing feature.&amp;nbsp; Meaning I don't want to create a new feature in collector, I just want the survey to populate a field in an existing feature.&lt;/P&gt;&lt;P&gt;I'm doing a workflow for pump station inspections&lt;/P&gt;&lt;P&gt;Here's what I want to do:&lt;/P&gt;&lt;P&gt;1. User fills out Survey123 for the inspection of Pump Station A, which populates the related Inspection Table in a GDB.&amp;nbsp; The user fills out the survey and records the gallons of Water Consumed.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; At the end of the survey, I'd like them to be able to pass the gallons of Water Consumed to the pump station feature layer for Pump Station A in a field called "Latest Gallons Consumed"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is that possible to do?&amp;nbsp; or is it only possible to create a new feature?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Katie&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 17:49:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/custom-url-parameters-passing-value-to-collector/m-p/1029502#M32671</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-02-23T17:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Custom URL parameters passing value to Collector?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/custom-url-parameters-passing-value-to-collector/m-p/1030844#M32777</link>
      <description>&lt;P&gt;Hi @Anonymous User,&lt;/P&gt;&lt;P&gt;Yes, it's possible. Look for this page for examples:&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/collector/android-phone/help/deploy-map.htm" target="_blank" rel="noopener"&gt;https://doc.arcgis.com/en/collector/android-phone/help/deploy-map.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here is how it should look like - I color-coded the different components of this sample URL:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;A href="https://collector.arcgis.app" target="_blank" rel="noopener"&gt;https://collector.arcgis.app&lt;/A&gt;?&lt;/FONT&gt;&lt;FONT color="#FF6600"&gt;itemID=3ac4145c1ac44aea86e9ed42e00fbb0d&lt;/FONT&gt;&lt;FONT color="#008000"&gt;&amp;amp;referenceContext=updateFeature&lt;/FONT&gt;&lt;FONT color="#FF00FF"&gt;&amp;amp;featureSourceURL=https//services9.arcgis.com/QjGvjfQhsHAmqfjP/arcgis/rest/services/DamageAssessment_Apr2018_631d0895e7d3404bb78e8e04e92d896e/FeatureServer/1&lt;/FONT&gt;&lt;FONT color="#33CCCC"&gt;&amp;amp;featureID=bb0a0c92-9f53-4367-a6a1-bc6edc605be0&lt;/FONT&gt;&lt;FONT color="#800000"&gt;&amp;amp;featureAttributes=%7B%22incidentid%22:%22527%22,%22inspector%22:%22Frank%20Jones%22,%22inspdate%22:1502917218285%7D&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000"&gt;&lt;FONT color="#000000"&gt;So, if we compare it to the URL that is generated by the script, you need to remove&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000"&gt;&lt;EM&gt;&lt;FONT color="#000000"&gt;centre=${location}&lt;/FONT&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000"&gt;&lt;FONT color="#000000"&gt;and replace it with&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000"&gt;&lt;EM&gt;&lt;FONT color="#000000"&gt;referenceContext=updateFeature&lt;/FONT&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000"&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Then, after the end of the feature source URL (in pink ...FeatureServer/1), you need to add the &lt;EM&gt;&amp;amp;featureID=GlobalID&lt;/EM&gt;, where the feature's &lt;EM&gt;GlobalID&lt;/EM&gt; is of the feature you're going to edit - pass it from your survey. This must be a GlobalID field. After this bit you specify &lt;EM&gt;&amp;amp;featureAttributes&lt;/EM&gt; just like you would in the scripted URL. This is where you'll pass the gallons of Water Consumed.&lt;/FONT&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000"&gt;&lt;FONT color="#000000"&gt;Hope this helps,&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000"&gt;&lt;FONT color="#000000"&gt;Uri&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#800000"&gt;&lt;FONT color="#000000"&gt;If this answer solved your question or if you found it helpful please mark it accordingly to help others who have the same question.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 00:23:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/custom-url-parameters-passing-value-to-collector/m-p/1030844#M32777</guid>
      <dc:creator>UriGilad_EsriAu</dc:creator>
      <dc:date>2021-02-26T00:23:52Z</dc:date>
    </item>
  </channel>
</rss>

