<?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: Passing attributes to Survey123 in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/passing-attributes-to-survey123/m-p/1010951#M37807</link>
    <description>&lt;P&gt;That's it!!! Thank you so much.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Dec 2020 16:06:29 GMT</pubDate>
    <dc:creator>Jg3197</dc:creator>
    <dc:date>2020-12-18T16:06:29Z</dc:date>
    <item>
      <title>Passing attributes to Survey123</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/passing-attributes-to-survey123/m-p/1010879#M37796</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am having trouble passing attribute data to Survey123. I created a simple form from the Survey123 web page containing two single line text questions and a map. I saved the form, and configured it to be accessed by me only and to open in the browser directly.&lt;/P&gt;&lt;P&gt;I created a webmap containing only this layer and the default basemap and saved it. I then updated the popup with a hyperlink to the survey that looks like this:&lt;/P&gt;&lt;P&gt;&lt;A href="https://survey123.arcgis.com/share/8f45592bb9084c8592c90640f3a1c78c&amp;amp;field:Species={species}" target="_blank"&gt;https://survey123.arcgis.com/share/8f45592bb9084c8592c90640f3a1c78c&amp;amp;field:Species={species}&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Now when I click on the link either from my webmap or the Explorer app, the webpage loads correctly and the url looks like this:&lt;/P&gt;&lt;P&gt;&lt;A href="https://survey123.arcgis.com/share/8f45592bb9084c8592c90640f3a1c78c&amp;amp;field:Species=Alder" target="_blank"&gt;https://survey123.arcgis.com/share/8f45592bb9084c8592c90640f3a1c78c&amp;amp;field:Species=Alder&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Alder being the correct data, so the url seems to be working. However, the relevant question field (Species- in my form is still blank.&lt;/P&gt;&lt;P&gt;Can anyone explain why the form is not populating please?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 10:00:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/passing-attributes-to-survey123/m-p/1010879#M37796</guid>
      <dc:creator>Jg3197</dc:creator>
      <dc:date>2020-12-18T10:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: Passing attributes to Survey123</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/passing-attributes-to-survey123/m-p/1010885#M37797</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Have you checked the Survey123 form schema to confirm the name of the field? This is often different to the question title; it might be that the actual field name is "species", which would explain why it isn't populating.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 10:54:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/passing-attributes-to-survey123/m-p/1010885#M37797</guid>
      <dc:creator>JoshuaSharp-Heward</dc:creator>
      <dc:date>2020-12-18T10:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Passing attributes to Survey123</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/passing-attributes-to-survey123/m-p/1010890#M37798</link>
      <description>&lt;P&gt;Hi Joshua,&lt;/P&gt;&lt;P&gt;I have checked that, and in fact the actual name is 'species', but changing this in the popup url doesn't work either. I end up with:&lt;/P&gt;&lt;P&gt;&lt;A href="https://survey123.arcgis.com/share/8f45592bb9084c8592c90640f3a1c78c&amp;amp;field:Species=%7Bspecies%7D" target="_blank" rel="nofollow noopener noreferrer"&gt;https://survey123.arcgis.com/share/8f45592bb9084c8592c90640f3a1c78c&amp;amp;field:species={species}&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and the url is:&lt;/P&gt;&lt;P&gt;&lt;A href="https://survey123.arcgis.com/share/8f45592bb9084c8592c90640f3a1c78c&amp;amp;field:Species=Alder" target="_blank" rel="nofollow noopener noreferrer"&gt;https://survey123.arcgis.com/share/8f45592bb9084c8592c90640f3a1c78c&amp;amp;field:species=Alder&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But I still have a blank box.&lt;/P&gt;&lt;P&gt;My schema looks like this:&lt;/P&gt;&lt;P&gt;Label&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Name&lt;/P&gt;&lt;P&gt;Species&amp;nbsp; &amp;nbsp; species&lt;/P&gt;&lt;P&gt;I feel like i'm missing something. Weirdly, if I change {species} to {Species} in the url, the reference still works (Alder).&lt;/P&gt;&lt;P&gt;One thing I wondered about is this: I am passing the feature layer created by the survey form to my map as I would like to be able to visualise the points created by field workers and then allow them to update the observations, or add new points (tree safety inspections) through the same survey. Do you think this could be the issue?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 11:58:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/passing-attributes-to-survey123/m-p/1010890#M37798</guid>
      <dc:creator>Jg3197</dc:creator>
      <dc:date>2020-12-18T11:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Passing attributes to Survey123</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/passing-attributes-to-survey123/m-p/1010892#M37799</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I notice when hovering over those urls that it's still directing to &amp;amp;field:Species with a capital, I'm not sure if that is what is happening in reality or just what you've typed to me but it's worth checking. It seems you may have updated the display text but not the underlying link url. Otherwise the formatting of the url looks fine to me, it seems like everything is working properly except for the matching of the fields, or else the survey wouldn't be opening or "Alder" wouldn't be getting populated.&lt;/P&gt;&lt;P&gt;I don't think consuming the survey feature layer in the web map would be causing this behaviour. To avoid these potential issues you can try getting the field populating working outside of the web map, i.e. just clicking&amp;nbsp;&lt;A href="https://survey123.arcgis.com/share/8f45592bb9084c8592c90640f3a1c78c&amp;amp;field:species=Alder" target="_blank" rel="nofollow noopener noreferrer noreferrer"&gt;https://survey123.arcgis.com/share/8f45592bb9084c8592c90640f3a1c78c&amp;amp;field:species=Alder&amp;nbsp;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 12:18:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/passing-attributes-to-survey123/m-p/1010892#M37799</guid>
      <dc:creator>JoshuaSharp-Heward</dc:creator>
      <dc:date>2020-12-18T12:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: Passing attributes to Survey123</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/passing-attributes-to-survey123/m-p/1010895#M37802</link>
      <description>&lt;P&gt;An update:&lt;/P&gt;&lt;P&gt;I followed the following tutorial:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-survey123-blog/using-app-links-to-launch-survey123-from-explorer-for-arcgis/ba-p/894229" target="_blank"&gt;https://community.esri.com/t5/arcgis-survey123-blog/using-app-links-to-launch-survey123-from-explorer-for-arcgis/ba-p/894229&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Creating a survey and linking it with the Shenandoah Operational Map I downloaded via ArcGIS Pro. The only difference to the protocol was that I used the browser link&amp;nbsp;&lt;A href="https://survey123.arcgis.com/share/" target="_blank"&gt;https://survey123.arcgis.com/share/&lt;/A&gt;&amp;nbsp;rather than the app link. I has exactly the same issue. I got the survey and the correct field value in my url, but it did not pass it to the form itself.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 12:48:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/passing-attributes-to-survey123/m-p/1010895#M37802</guid>
      <dc:creator>Jg3197</dc:creator>
      <dc:date>2020-12-18T12:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: Passing attributes to Survey123</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/passing-attributes-to-survey123/m-p/1010896#M37803</link>
      <description>&lt;P&gt;Ah, no, sorry that was me being lazy and copying and pasting from above, rather than pasting the actual url - the url itself has definitely changed.&lt;/P&gt;&lt;P&gt;I have tried a couple of things since, including creating a separate feature layer, and following the ESRI tutorial exactly as I describe below, and i'm still encountering the same issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 12:56:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/passing-attributes-to-survey123/m-p/1010896#M37803</guid>
      <dc:creator>Jg3197</dc:creator>
      <dc:date>2020-12-18T12:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Passing attributes to Survey123</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/passing-attributes-to-survey123/m-p/1010904#M37805</link>
      <description>&lt;P&gt;Ahh, I should have looked at the documentation again. Replace the &amp;amp; with a ? and you should be fine.&lt;/P&gt;&lt;P&gt;"The&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ph"&gt;Survey123&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;web app can accept parameters in the same format as the field app. The only difference is that you must use a question mark to separate the item ID of the survey from the first parameter, rather than an ampersand (ampersands are still used to separate parameters). The following example URL passes the surname and coordinate parameters to a survey in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ph"&gt;Survey123&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;web app:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="usertext"&gt;&lt;A href="https://survey123.arcgis.com/share/36ff9e8c13e042a58cfce4ad87f55d19?field:surname=Klauser&amp;amp;center=37.8199,-122.4783" target="_blank"&gt;https://survey123.arcgis.com/share/36ff9e8c13e042a58cfce4ad87f55d19?field:surname=Klauser&amp;amp;center=37.8199,-122.4783&lt;/A&gt;"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 14:06:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/passing-attributes-to-survey123/m-p/1010904#M37805</guid>
      <dc:creator>JoshuaSharp-Heward</dc:creator>
      <dc:date>2020-12-18T14:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Passing attributes to Survey123</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/passing-attributes-to-survey123/m-p/1010951#M37807</link>
      <description>&lt;P&gt;That's it!!! Thank you so much.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 16:06:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/passing-attributes-to-survey123/m-p/1010951#M37807</guid>
      <dc:creator>Jg3197</dc:creator>
      <dc:date>2020-12-18T16:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Passing attributes to Survey123</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/passing-attributes-to-survey123/m-p/1010998#M37810</link>
      <description>&lt;P&gt;No worries, glad I could help out!&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 17:47:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/passing-attributes-to-survey123/m-p/1010998#M37810</guid>
      <dc:creator>JoshuaSharp-Heward</dc:creator>
      <dc:date>2020-12-18T17:47:59Z</dc:date>
    </item>
  </channel>
</rss>

