<?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: When making a report from 2 records a repeat section in a conditional report element is causing an error in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/when-making-a-report-from-2-records-a-repeat/m-p/1333920#M52070</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/420674"&gt;@SLUBrookeJohnson&lt;/a&gt;, I took a look at your XLSForm and reread your original post.&amp;nbsp;In order to display data from two separate records on one page, your report template would need to have a summary section with the&amp;nbsp;$&amp;lt;$summary&amp;gt; $&amp;lt;/&amp;gt; start and end tags, otherwise the report service will assume it is an individual report and only evaluate one record at a time.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I think the conditional element is causing issues because the&amp;nbsp;${if t1_q_num &amp;gt;= 0} expression would only work in an individual report and the ${#mainLayer}${/} syntax is only intended for a summary section.&lt;/P&gt;</description>
    <pubDate>Fri, 29 Sep 2023 22:45:43 GMT</pubDate>
    <dc:creator>BarbaraWebster1</dc:creator>
    <dc:date>2023-09-29T22:45:43Z</dc:date>
    <item>
      <title>When making a report from 2 records a repeat section in a conditional report element is causing an error</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/when-making-a-report-from-2-records-a-repeat/m-p/1328529#M51726</link>
      <description>&lt;P&gt;When making a report from 2 records a repeat section in a conditional report element is causing an error "&lt;SPAN&gt;The task failed because all reports failed to run printIndividual.&lt;/SPAN&gt;" I'm quite sure this is what's causing the error since I tried generating a report where the repeat section is outside conditional report element and it would work.&lt;/P&gt;&lt;P&gt;On the attached word document below, what I'm trying to achieve is basically a template for a before and after picture with details of a location, and I'm hoping for the repeat to show 2 images in one page from 2 different records. Which works for the first 4 pages but when it gets to the 5th page where it's in a conditional element, it gets an error.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2023 23:31:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/when-making-a-report-from-2-records-a-repeat/m-p/1328529#M51726</guid>
      <dc:creator>SLUBrookeJohnson</dc:creator>
      <dc:date>2023-09-13T23:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: When making a report from 2 records a repeat section in a conditional report element is causing an error</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/when-making-a-report-from-2-records-a-repeat/m-p/1333859#M52064</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/420674"&gt;@SLUBrookeJohnson&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;The table structure for the table on page 5 is more complex than all the others. It looks like there are merged or split cells, which can cause issues for repeats in tables. All your other tables have a more simple table structure with individual questions separated by line breaks within table cells. Have you tried that approach for the table on page 5?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If that's not the issue, if you're able to provide the XLSForm we can look into it in more detail.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;-Barbara&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 18:55:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/when-making-a-report-from-2-records-a-repeat/m-p/1333859#M52064</guid>
      <dc:creator>BarbaraWebster1</dc:creator>
      <dc:date>2023-09-29T18:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: When making a report from 2 records a repeat section in a conditional report element is causing an error</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/when-making-a-report-from-2-records-a-repeat/m-p/1333889#M52065</link>
      <description>&lt;P&gt;Hi Barbara, thanks for responding to my issue.&lt;/P&gt;&lt;P&gt;Yes the table structure for page 5 is indeed more complex than the following pages, but that is what I'm trying to do from page 5 to the last page. And I've said it my post as well but I believe what causes the error is due to the repeat being in a conditional element code. I have also tried doing only the repeat by itself and the conditional element code by itself, and both work fine. But for some reason nesting the repeat in the conditional element code causes the&amp;nbsp;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;The task failed because all reports failed to run printIndividual.&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I'll attach the XLSForm below for reference. And a 1 record template I also made as a reference for the 2 record template. I have also changed one of the fields used in the template, so I will be attaching an update of the 2 record template as well.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 20:31:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/when-making-a-report-from-2-records-a-repeat/m-p/1333889#M52065</guid>
      <dc:creator>SLUBrookeJohnson</dc:creator>
      <dc:date>2023-09-29T20:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: When making a report from 2 records a repeat section in a conditional report element is causing an error</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/when-making-a-report-from-2-records-a-repeat/m-p/1333920#M52070</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/420674"&gt;@SLUBrookeJohnson&lt;/a&gt;, I took a look at your XLSForm and reread your original post.&amp;nbsp;In order to display data from two separate records on one page, your report template would need to have a summary section with the&amp;nbsp;$&amp;lt;$summary&amp;gt; $&amp;lt;/&amp;gt; start and end tags, otherwise the report service will assume it is an individual report and only evaluate one record at a time.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I think the conditional element is causing issues because the&amp;nbsp;${if t1_q_num &amp;gt;= 0} expression would only work in an individual report and the ${#mainLayer}${/} syntax is only intended for a summary section.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 22:45:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/when-making-a-report-from-2-records-a-repeat/m-p/1333920#M52070</guid>
      <dc:creator>BarbaraWebster1</dc:creator>
      <dc:date>2023-09-29T22:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: When making a report from 2 records a repeat section in a conditional report element is causing an error</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/when-making-a-report-from-2-records-a-repeat/m-p/1333929#M52074</link>
      <description>&lt;P&gt;Thanks for the response, I tried using the summary section and the next problem that occurs is that I am unable to attach photos in a loop inside a summary. And after looking for workarounds to this problem, I read that&amp;nbsp;an update last year made users not able to do this anymore.&lt;/P&gt;&lt;P&gt;Is there any workaround you happen to know? or better yet is there way to call a field from a specific record in those selections?&lt;/P&gt;&lt;P&gt;That is unfortunate that the&amp;nbsp;&lt;SPAN&gt;${#mainLayer}${/} syntax&amp;nbsp;is only intended for a summary section&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 23:50:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/when-making-a-report-from-2-records-a-repeat/m-p/1333929#M52074</guid>
      <dc:creator>SLUBrookeJohnson</dc:creator>
      <dc:date>2023-09-29T23:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: When making a report from 2 records a repeat section in a conditional report element is causing an error</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/when-making-a-report-from-2-records-a-repeat/m-p/1334238#M52095</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/420674"&gt;@SLUBrookeJohnson&lt;/a&gt;&amp;nbsp;Yes, it isn't possible to include images in a repeat in a summary section. I don't believe there are any workarounds to this, although there is an &lt;A href="https://community.esri.com/t5/arcgis-survey123-ideas/printing-images-or-maps-in-a-summary-section/idi-p/1148634/page/2#comments" target="_self"&gt;ArcGIS Idea&lt;/A&gt; open to add this functionality.&lt;BR /&gt;&lt;BR /&gt;If you're open to editing your survey structure, one approach would be to store the monitoring results as a repeat in your survey and field crews would access them through the inbox. Then you could display the before and after photos in the same report since they would be stored within the same record.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2023 18:12:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/when-making-a-report-from-2-records-a-repeat/m-p/1334238#M52095</guid>
      <dc:creator>BarbaraWebster1</dc:creator>
      <dc:date>2023-10-02T18:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: When making a report from 2 records a repeat section in a conditional report element is causing an error</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/when-making-a-report-from-2-records-a-repeat/m-p/1334269#M52098</link>
      <description>&lt;P&gt;That's actually an interesting solution, and just to clarify if I understood it right. In one record I would be able to have a before and after by using a repeat that wraps around the whole survey?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2023 19:42:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/when-making-a-report-from-2-records-a-repeat/m-p/1334269#M52098</guid>
      <dc:creator>SLUBrookeJohnson</dc:creator>
      <dc:date>2023-10-02T19:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: When making a report from 2 records a repeat section in a conditional report element is causing an error</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/when-making-a-report-from-2-records-a-repeat/m-p/1334277#M52099</link>
      <description>&lt;P&gt;Yes, except the monitoring area name and a geoshape would be outside the repeat since you would have multiple inspections associated with the single polygon. &lt;A href="https://mediaspace.esri.com/media/t/1_rge1ajj8" target="_self"&gt;This video&lt;/A&gt; includes a demo that uses that approach for field inspections. The demo starts at 5:13 and gets into how the inspection repeat is used at around 7:30. The survey Ismael is using is also available in Connect in the Esri template section.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2023 20:04:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/when-making-a-report-from-2-records-a-repeat/m-p/1334277#M52099</guid>
      <dc:creator>BarbaraWebster1</dc:creator>
      <dc:date>2023-10-02T20:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: When making a report from 2 records a repeat section in a conditional report element is causing an error</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/when-making-a-report-from-2-records-a-repeat/m-p/1334376#M52106</link>
      <description>&lt;P&gt;Your idea worked perfectly! I was able to do what I wanted with a few adjustments to the survey and the report template. Thank you so much!&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2023 00:02:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/when-making-a-report-from-2-records-a-repeat/m-p/1334376#M52106</guid>
      <dc:creator>SLUBrookeJohnson</dc:creator>
      <dc:date>2023-10-03T00:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: When making a report from 2 records a repeat section in a conditional report element is causing an error</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/when-making-a-report-from-2-records-a-repeat/m-p/1334381#M52107</link>
      <description>&lt;P&gt;Glad to hear it worked for you!&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2023 00:30:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/when-making-a-report-from-2-records-a-repeat/m-p/1334381#M52107</guid>
      <dc:creator>BarbaraWebster1</dc:creator>
      <dc:date>2023-10-03T00:30:34Z</dc:date>
    </item>
  </channel>
</rss>

