<?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 Conditional repeats in Feature report template in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-repeats-in-feature-report-template/m-p/863811#M26478</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I'm trying to create a feature report where I only include a section if there is data to show. Is there an if statement that will check for any data at all within a repeat?&lt;/P&gt;&lt;P&gt;I have a repeat field for images and I'd like to know if I can exclude the section if no photos have been taken.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I expect the syntax to be somethiong like the following, but so far I can't get it right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN&gt;${if #images}&lt;/SPAN&gt;
&amp;nbsp; &amp;nbsp;Section Header
&amp;nbsp;&amp;nbsp;&amp;nbsp;${#images}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;${imageA}
&lt;STRONG&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/STRONG&gt;${imageB}&lt;STRONG&gt;&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;${/images}
&lt;SPAN&gt;${/}

Thanks in advance.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 17:00:47 GMT</pubDate>
    <dc:creator>ReubenWilliams</dc:creator>
    <dc:date>2021-12-12T17:00:47Z</dc:date>
    <item>
      <title>Conditional repeats in Feature report template</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-repeats-in-feature-report-template/m-p/863811#M26478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I'm trying to create a feature report where I only include a section if there is data to show. Is there an if statement that will check for any data at all within a repeat?&lt;/P&gt;&lt;P&gt;I have a repeat field for images and I'd like to know if I can exclude the section if no photos have been taken.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I expect the syntax to be somethiong like the following, but so far I can't get it right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN&gt;${if #images}&lt;/SPAN&gt;
&amp;nbsp; &amp;nbsp;Section Header
&amp;nbsp;&amp;nbsp;&amp;nbsp;${#images}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;${imageA}
&lt;STRONG&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/STRONG&gt;${imageB}&lt;STRONG&gt;&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;${/images}
&lt;SPAN&gt;${/}

Thanks in advance.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 17:00:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-repeats-in-feature-report-template/m-p/863811#M26478</guid>
      <dc:creator>ReubenWilliams</dc:creator>
      <dc:date>2021-12-12T17:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional repeats in Feature report template</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-repeats-in-feature-report-template/m-p/863812#M26479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A href="https://community.esri.com/migrated-users/415159"&gt;Reuben Williams&lt;/A&gt;‌,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I apologize for the delay in reaching out! Please try the following syntax:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;${if (images| getValue:"count")&amp;gt;0}Section Header${/}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;${#images}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;${photos | size:460:0}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;${/}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;We have an issue logged on our end where this will not work in the current production ArcGIS Survey123 Website, but the fix has been implemented in our Beta 3.11 website. Please test in &lt;A href="https://survey123beta.arcgis.com"&gt;https://survey123beta.arcgis.com&lt;/A&gt;&amp;nbsp;as that should work.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Thank you,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Zach&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2020 20:39:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-repeats-in-feature-report-template/m-p/863812#M26479</guid>
      <dc:creator>ZacharySutherby</dc:creator>
      <dc:date>2020-09-30T20:39:47Z</dc:date>
    </item>
  </channel>
</rss>

