<?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: URL passing labels, not coded values, to Survey123 in ArcGIS Field Maps Questions</title>
    <link>https://community.esri.com/t5/arcgis-field-maps-questions/url-passing-labels-not-coded-values-to-survey123/m-p/1247525#M5145</link>
    <description>&lt;P&gt;By default, values can only be passed to select one or select multiple questions from a pop-up in a web map if the name and label of the corresponding choice are identical. If the names and labels in your choice list are different, you can use the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://doc.arcgis.com/en/survey123/reference/integratewithotherapps.htm" target="_self"&gt;&lt;SPAN class=""&gt;DomainCode&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/A&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/arcade/function-reference/text_functions/#urlencode" target="_blank" rel="noopener"&gt;&lt;SPAN class=""&gt;UrlEncode&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;functions in an&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/arcade/guide/" target="_blank" rel="noopener"&gt;&lt;SPAN class=""&gt;ArcGIS Arcade&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;expression in the pop-up to pass the desired value.&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/survey123/reference/integratewithotherapps.htm" target="_blank" rel="noopener"&gt;https://doc.arcgis.com/en/survey123/reference/integratewithotherapps.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You need to add an expression to your Web Map layer and then use the expression in place of the field for the custom URL scheme e.g.&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/arcgis-online/create-maps/configure-pop-ups-mv.htm#ESRI_SECTION1_BE0D1CA2E46742F18E7D442FB2E0F47D" target="_blank" rel="noopener"&gt;https://doc.arcgis.com/en/arcgis-online/create-maps/configure-pop-ups-mv.htm#ESRI_SECTION1_BE0D1CA2E46742F18E7D442FB2E0F47D&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;expression/expr1:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;DomainCode($feature, 'fieldname')&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Then update the URL:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;arcgis-survey123://?itemID=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&amp;amp;field:targetfield={fieldname}&lt;/P&gt;&lt;P&gt;&lt;EM&gt;becomes:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;arcgis-survey123://?itemID=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&amp;amp;field:targetfield={expression/expr1}&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jan 2023 02:52:00 GMT</pubDate>
    <dc:creator>ChristopherCounsell</dc:creator>
    <dc:date>2023-01-12T02:52:00Z</dc:date>
    <item>
      <title>URL passing labels, not coded values, to Survey123</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/url-passing-labels-not-coded-values-to-survey123/m-p/1247523#M5144</link>
      <description>&lt;P&gt;I am using a URL in a Field Maps popup link to open a Survey123 form and pass field values from the parent table, populated in Field Maps, to a related table, which is then edited via the Survey123 form. When I use the link in the Map Viewer popup of the Web Map I use for Field Maps, opening the Survey123 form in the Windows Survey123 app, the coded values of the fields are passed to the form. This is the behaviour I would expect and what I want. However, when I use Field Maps on a mobile device, opening the mobile (iOS) Survey123 app, it looks like it is passing the fields' labels rather than the coded values.&lt;/P&gt;&lt;P&gt;I'm happy to provide extra information if need. Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 01:48:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/url-passing-labels-not-coded-values-to-survey123/m-p/1247523#M5144</guid>
      <dc:creator>ahmdes</dc:creator>
      <dc:date>2023-01-12T01:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: URL passing labels, not coded values, to Survey123</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/url-passing-labels-not-coded-values-to-survey123/m-p/1247525#M5145</link>
      <description>&lt;P&gt;By default, values can only be passed to select one or select multiple questions from a pop-up in a web map if the name and label of the corresponding choice are identical. If the names and labels in your choice list are different, you can use the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://doc.arcgis.com/en/survey123/reference/integratewithotherapps.htm" target="_self"&gt;&lt;SPAN class=""&gt;DomainCode&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/A&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/arcade/function-reference/text_functions/#urlencode" target="_blank" rel="noopener"&gt;&lt;SPAN class=""&gt;UrlEncode&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;functions in an&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/arcade/guide/" target="_blank" rel="noopener"&gt;&lt;SPAN class=""&gt;ArcGIS Arcade&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;expression in the pop-up to pass the desired value.&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/survey123/reference/integratewithotherapps.htm" target="_blank" rel="noopener"&gt;https://doc.arcgis.com/en/survey123/reference/integratewithotherapps.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You need to add an expression to your Web Map layer and then use the expression in place of the field for the custom URL scheme e.g.&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/arcgis-online/create-maps/configure-pop-ups-mv.htm#ESRI_SECTION1_BE0D1CA2E46742F18E7D442FB2E0F47D" target="_blank" rel="noopener"&gt;https://doc.arcgis.com/en/arcgis-online/create-maps/configure-pop-ups-mv.htm#ESRI_SECTION1_BE0D1CA2E46742F18E7D442FB2E0F47D&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;expression/expr1:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;DomainCode($feature, 'fieldname')&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Then update the URL:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;arcgis-survey123://?itemID=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&amp;amp;field:targetfield={fieldname}&lt;/P&gt;&lt;P&gt;&lt;EM&gt;becomes:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;arcgis-survey123://?itemID=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&amp;amp;field:targetfield={expression/expr1}&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 02:52:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/url-passing-labels-not-coded-values-to-survey123/m-p/1247525#M5145</guid>
      <dc:creator>ChristopherCounsell</dc:creator>
      <dc:date>2023-01-12T02:52:00Z</dc:date>
    </item>
  </channel>
</rss>

