<?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: Include variable from outside repeat in column of repeats table in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/include-variable-from-outside-repeat-in-column-of/m-p/780630#M6037</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Flo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for sharing your question here, and sorry for the late reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since water_level is not a question within your new_layer, could you try to replace the ${water_level} with ${CorrectLayerName.water_level}? So, the service can find the field of water_level in the correct layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this does not for you, would it be possible to share a simplified version of your XLSForm and report template?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Ruth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Aug 2020 10:05:35 GMT</pubDate>
    <dc:creator>Ruth_JiatengXu</dc:creator>
    <dc:date>2020-08-12T10:05:35Z</dc:date>
    <item>
      <title>Include variable from outside repeat in column of repeats table</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/include-variable-from-outside-repeat-in-column-of/m-p/780629#M6036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am currently trying to create a feature report template that contains a table with all the entries from a repeat describing geological layers (&lt;SPAN style="color: #0070c0;"&gt;repeat name blue &lt;/SPAN&gt;and &lt;SPAN style="color: #00b050;"&gt;questions within repeat green&lt;/SPAN&gt;). I would now like to add a variable (&lt;SPAN style="color: red;"&gt;${water_level}&lt;/SPAN&gt;) from outside of the repeats (&lt;EM&gt;recorded after the repeats in my app&lt;/EM&gt;) in the middle of the table displaying the repeat entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE style="border: none;" width="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; background: #BDD6EE; padding: 0cm 5.4pt 0cm 5.4pt;" width="182"&gt;&lt;P&gt;Largeur de couche &lt;M&gt;&lt;/M&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid windowtext 1.0pt; border-left: none; background: #BDD6EE; padding: 0cm 5.4pt 0cm 5.4pt;" width="110"&gt;&lt;P&gt;Profondeur &lt;M&gt;&lt;/M&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid windowtext 1.0pt; border-left: none; background: #BDD6EE; padding: 0cm 5.4pt 0cm 5.4pt;" width="100"&gt;&lt;P&gt;Niveau d'eau &lt;M&gt;&lt;/M&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid windowtext 1.0pt; border-left: none; background: #BDD6EE; padding: 0cm 5.4pt 0cm 5.4pt;" width="111"&gt;&lt;P&gt;Nature du terrain&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid windowtext 1.0pt; border-left: none; background: #BDD6EE; padding: 0cm 5.4pt 0cm 5.4pt;" width="128"&gt;&lt;P&gt;Coupe technique&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; padding: 0cm 5.4pt 0cm 5.4pt;" width="182"&gt;&lt;P&gt;&lt;SPAN style="color: #0070c0;"&gt;${#new_layer}&lt;/SPAN&gt;&lt;SPAN style="color: #00b050;"&gt;${layer_width}&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0cm 5.4pt 0cm 5.4pt;" width="110"&gt;&lt;P&gt;&lt;SPAN style="color: #00b050;"&gt;${layer_bottom}&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0cm 5.4pt 0cm 5.4pt;" width="100"&gt;&lt;P&gt;&lt;SPAN style="color: red;"&gt;${water_level}&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0cm 5.4pt 0cm 5.4pt;" width="111"&gt;&lt;P&gt;&lt;SPAN style="color: #00b050;"&gt;${description}&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0cm 5.4pt 0cm 5.4pt;" width="128"&gt;&lt;P&gt;&lt;SPAN style="color: #00b050;"&gt;${tech_layer}&lt;/SPAN&gt;&lt;SPAN style="color: #0070c0;"&gt;${/}&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whenever i try to upload the feature report template i get the following error message:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Failed to parse ${water_level}. Field ${water_level} does not exist or cannot be found in current parsing scope.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;However if i print the variable somewhere outside the table everything's fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried creating a calculate field within the repeat based on the ${water_level} variable outside of the repeat, but as the ${water_level} is only specified &lt;STRONG&gt;&lt;EM&gt;after&lt;/EM&gt;&lt;/STRONG&gt; recording several layers in the repeat, the water level value gets only assigned to the calculate field of the last repeat entry.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does someone have an idea how i could solve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Flo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;feature report‌&lt;/P&gt;&lt;P&gt;repeat template‌&lt;/P&gt;&lt;P&gt;survey 123 repeat‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2020 12:59:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/include-variable-from-outside-repeat-in-column-of/m-p/780629#M6036</guid>
      <dc:creator>Environnement_1Lausanne</dc:creator>
      <dc:date>2020-07-30T12:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Include variable from outside repeat in column of repeats table</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/include-variable-from-outside-repeat-in-column-of/m-p/780630#M6037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Flo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for sharing your question here, and sorry for the late reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since water_level is not a question within your new_layer, could you try to replace the ${water_level} with ${CorrectLayerName.water_level}? So, the service can find the field of water_level in the correct layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this does not for you, would it be possible to share a simplified version of your XLSForm and report template?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Ruth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2020 10:05:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/include-variable-from-outside-repeat-in-column-of/m-p/780630#M6037</guid>
      <dc:creator>Ruth_JiatengXu</dc:creator>
      <dc:date>2020-08-12T10:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Include variable from outside repeat in column of repeats table</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/include-variable-from-outside-repeat-in-column-of/m-p/780631#M6038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ruth,&lt;/P&gt;&lt;P&gt;Thanks for your reply. Unfortunately it still doesn't work. Here's the relevant part of my XLS form and report template:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE height="484" style="width: 572px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="font-size: 10pt; color: white; text-decoration: none; border: 0.5pt solid windowtext; background: #4f81bd none repeat scroll 0% 0%; width: 176px;"&gt;begin group&lt;/TD&gt;&lt;TD style="border-left: medium none; width: 157px;"&gt;add_geological_layers&lt;/TD&gt;&lt;TD style="border-left: medium none; width: 215px;"&gt;Description du prélevement&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-top: medium none; width: 176px;"&gt;hidden&lt;/TD&gt;&lt;TD style="border-top: medium none; border-left: medium none; width: 157px;"&gt;max_depth_to&lt;/TD&gt;&lt;TD style="border-top: medium none; border-left: medium none; width: 215px;"&gt;current depth&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-top: medium none; width: 176px;"&gt;note&lt;/TD&gt;&lt;TD style="border-top: medium none; border-left: medium none; width: 157px;"&gt;layer_list&lt;/TD&gt;&lt;TD style="border-top: medium none; border-left: medium none; width: 215px;"&gt;Couches documentées:&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="font-size: 10pt; color: black; font-weight: 400; text-decoration: none; border: 0.5pt solid windowtext; background: #b7dee8 none repeat scroll 0% 0%; width: 176px;"&gt;begin repeat&lt;/TD&gt;&lt;TD style="border-top: medium none; border-left: medium none; width: 157px;"&gt;new_layer&lt;/TD&gt;&lt;TD style="border-top: medium none; border-left: medium none; width: 215px;"&gt;Entrer une couche:&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-top: medium none; width: 176px;"&gt;decimal&lt;/TD&gt;&lt;TD style="border-top: medium none; border-left: medium none; width: 157px;"&gt;layer_top&lt;/TD&gt;&lt;TD style="border-top: medium none; border-left: medium none; width: 215px;"&gt;Commence à (limite sup.) &lt;M&gt;:&lt;/M&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-top: medium none; width: 176px;"&gt;decimal&lt;/TD&gt;&lt;TD style="border-top: medium none; border-left: medium none; width: 157px;"&gt;layer_bottom&lt;/TD&gt;&lt;TD style="border-top: medium none; border-left: medium none; width: 215px;"&gt;Profondeur (limite inf.) &lt;M&gt;:&lt;/M&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-top: medium none; width: 176px;"&gt;text&lt;/TD&gt;&lt;TD style="border-top: medium none; border-left: medium none; width: 157px;"&gt;description&lt;/TD&gt;&lt;TD style="border-top: medium none; border-left: medium none; width: 215px;"&gt;Nature du terrain:&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-top: medium none; width: 176px;"&gt;text&lt;/TD&gt;&lt;TD style="border-top: medium none; border-left: medium none; width: 157px;"&gt;tech_layer&lt;/TD&gt;&lt;TD style="border-top: medium none; border-left: medium none; width: 215px;"&gt;Coupe technique:&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-top: medium none; width: 176px;"&gt;calculate&lt;/TD&gt;&lt;TD style="border-top: medium none; border-left: medium none; width: 157px;"&gt;layer_width&lt;/TD&gt;&lt;TD style="border-top: medium none; border-left: medium none; width: 215px;"&gt;layer width&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-top: medium none; width: 176px;"&gt;calculate&lt;/TD&gt;&lt;TD style="border-top: medium none; border-left: medium none; width: 157px;"&gt;current_entry&lt;/TD&gt;&lt;TD style="border-top: medium none; border-left: medium none; width: 215px;"&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="font-size: 10pt; color: black; font-weight: 400; text-decoration: none; border: 0.5pt solid windowtext; background: #b7dee8 none repeat scroll 0% 0%; width: 176px;"&gt;end repeat&lt;/TD&gt;&lt;TD style="border-top: medium none; border-left: medium none; width: 157px;"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD style="border-top: medium none; border-left: medium none; width: 215px;"&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-top: medium none; width: 176px;"&gt;decimal&lt;/TD&gt;&lt;TD style="border-top: medium none; border-left: medium none; width: 157px;"&gt;water_level&lt;/TD&gt;&lt;TD style="border-top: medium none; border-left: medium none; width: 215px;"&gt;&amp;lt;b&amp;gt;Niveau d'eau&amp;lt;b/&amp;gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="font-size: 10pt; color: white; text-decoration: none; border: 0.5pt solid windowtext; background: #4f81bd none repeat scroll 0% 0%; width: 176px;"&gt;end group&lt;/TD&gt;&lt;TD style="border-top: medium none; border-left: medium none; width: 157px;"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD style="border-top: medium none; border-left: medium none; width: 215px;"&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE style="border: none;" width="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; background: #BDD6EE; padding: 0cm 5.4pt 0cm 5.4pt;" width="182"&gt;&lt;P&gt;Largeur de couche &lt;M&gt;&lt;/M&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid windowtext 1.0pt; border-left: none; background: #BDD6EE; padding: 0cm 5.4pt 0cm 5.4pt;" width="110"&gt;&lt;P&gt;Profondeur &lt;M&gt;&lt;/M&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid windowtext 1.0pt; border-left: none; background: #BDD6EE; padding: 0cm 5.4pt 0cm 5.4pt;" width="100"&gt;&lt;P&gt;Niveau d'eau &lt;M&gt;&lt;/M&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid windowtext 1.0pt; border-left: none; background: #BDD6EE; padding: 0cm 5.4pt 0cm 5.4pt;" width="111"&gt;&lt;P&gt;Nature du terrain&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid windowtext 1.0pt; border-left: none; background: #BDD6EE; padding: 0cm 5.4pt 0cm 5.4pt;" width="128"&gt;&lt;P&gt;Coupe technique&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; padding: 0cm 5.4pt 0cm 5.4pt;" width="182"&gt;&lt;P&gt;${#new_layer}${layer_width}&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0cm 5.4pt 0cm 5.4pt;" width="110"&gt;&lt;P&gt;${layer_top} - ${layer_bottom}&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0cm 5.4pt 0cm 5.4pt;" width="100"&gt;&lt;P&gt;${water_level}&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0cm 5.4pt 0cm 5.4pt;" width="111"&gt;&lt;P&gt;${description}&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0cm 5.4pt 0cm 5.4pt;" width="128"&gt;&lt;P&gt;${tech_layer}${/}&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Flo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2020 13:30:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/include-variable-from-outside-repeat-in-column-of/m-p/780631#M6038</guid>
      <dc:creator>Environnement_1Lausanne</dc:creator>
      <dc:date>2020-08-14T13:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: Include variable from outside repeat in column of repeats table</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/include-variable-from-outside-repeat-in-column-of/m-p/780632#M6039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Flo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the additional info, I created a survey and a template based on the info you provided, and here is the screenshot of my feature report template.&amp;nbsp;Note the Form_17 is the main layer name of the survey that I created, and you need to replace that with your main layer name.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/503605_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main layer name can be found in Feature Report panel -&amp;gt; Manage templates -&amp;gt; Upload new template -&amp;gt; Under the Howto create a template gray box. Or you can find it on the feature layer&amp;nbsp;overview page on the AGOL.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/503609_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Feel free to reply if this not work for you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ruth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Aug 2020 06:26:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/include-variable-from-outside-repeat-in-column-of/m-p/780632#M6039</guid>
      <dc:creator>Ruth_JiatengXu</dc:creator>
      <dc:date>2020-08-17T06:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Include variable from outside repeat in column of repeats table</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/include-variable-from-outside-repeat-in-column-of/m-p/780633#M6040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Ruth,&lt;/P&gt;&lt;P&gt;Thanks heaps for your help, works like a charm!&lt;/P&gt;&lt;P&gt;Best greetings,&lt;/P&gt;&lt;P&gt;Flo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2020 14:14:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/include-variable-from-outside-repeat-in-column-of/m-p/780633#M6040</guid>
      <dc:creator>Environnement_1Lausanne</dc:creator>
      <dc:date>2020-08-26T14:14:34Z</dc:date>
    </item>
  </channel>
</rss>

