<?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: Displaying multiple images from repeat: Issues with code and appearances in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/displaying-multiple-images-from-repeat-issues-with/m-p/1031759#M32833</link>
    <description>&lt;P&gt;I took the Template apart, and reconstructed it by adding one row at a time from the Master Template table to the images table, and it now works.&amp;nbsp; &amp;nbsp;I'm not sure what changed, which is problematic, but it works as the sponsor requests, which is not.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Mar 2021 01:21:22 GMT</pubDate>
    <dc:creator>Phein62</dc:creator>
    <dc:date>2021-03-02T01:21:22Z</dc:date>
    <item>
      <title>Displaying multiple images from repeat: Issues with code and appearances</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/displaying-multiple-images-from-repeat-issues-with/m-p/1031629#M32820</link>
      <description>&lt;P&gt;I am creating a Template for a Feature Report in Survey123.&lt;/P&gt;&lt;P&gt;The Survey has a Repeat section that includes images, drawings, and maps.&amp;nbsp; [The Survey contain 5 other repeats, 8 other possible images per record.]&lt;/P&gt;&lt;P&gt;I used the following string in a row in a table to display the images, if any:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;${#ECMPics} ${if IMG | getValue:”name”} ${IMG | resultRecordCount:1 | getValue:”” | size:0:150} ${/}${/}&lt;/P&gt;&lt;P&gt;[NOTE:&amp;nbsp; I was trying to just get the first image, but that isn't working, but it doesn't appear to be hurting, either.]&lt;/P&gt;&lt;P&gt;The row is one cell, and has no other information in it.&amp;nbsp; In a Template I edited down to just work on images, including those in the Repeat, it displays the images, if any, in a nice horizontal row.&amp;nbsp; &amp;nbsp;I cut-and-pasted that string back into a blank row in the original Template, and I get error messages.&amp;nbsp; &amp;nbsp;The one I can address, and that I can only get if I generate a sample report for only one record, says&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;An error occurred when rendering by the report engine.&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;EM&gt;${IMG | resultRecordCount:1 | getValue:”” | size:0:150}&lt;/EM&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&amp;nbsp;cannot be rendered, please try to put it in a new line.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If I put a return in like this, still in the same cell:&lt;/P&gt;&lt;P&gt;&amp;nbsp;${#ECMPics}&lt;/P&gt;&lt;P&gt;${if IMG | getValue:”name”} ${IMG | resultRecordCount:1 | getValue:”” | size:0:150} ${/}${/}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It will display the same images but now vertically, stacked one atop the other, which is not desired.&amp;nbsp; I've tried splitting the row into three cells, with the ${#ECMPics} tag in the first cell, and everything but the closing tags in the middle cell, and it displays, but again vertically, not horizontally.&lt;/P&gt;&lt;P&gt;[NOTE:&amp;nbsp; The other error messages seem to be transient, and tell me that the &lt;STRONG&gt;loop with "" is unopened&lt;/STRONG&gt; or &lt;STRONG&gt;unclosed&lt;/STRONG&gt;.]&lt;/P&gt;&lt;P&gt;The Master Template works fine otherwise without this image row, including displaying data from other repeats, which may include images.&amp;nbsp; However, the sponsor is insistent on having the opening images be at the top of the Report.&lt;/P&gt;&lt;P&gt;Any help appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 19:40:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/displaying-multiple-images-from-repeat-issues-with/m-p/1031629#M32820</guid>
      <dc:creator>Phein62</dc:creator>
      <dc:date>2021-03-01T19:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying multiple images from repeat: Issues with code and appearances</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/displaying-multiple-images-from-repeat-issues-with/m-p/1031759#M32833</link>
      <description>&lt;P&gt;I took the Template apart, and reconstructed it by adding one row at a time from the Master Template table to the images table, and it now works.&amp;nbsp; &amp;nbsp;I'm not sure what changed, which is problematic, but it works as the sponsor requests, which is not.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 01:21:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/displaying-multiple-images-from-repeat-issues-with/m-p/1031759#M32833</guid>
      <dc:creator>Phein62</dc:creator>
      <dc:date>2021-03-02T01:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying multiple images from repeat: Issues with code and appearances</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/displaying-multiple-images-from-repeat-issues-with/m-p/1035909#M33127</link>
      <description>&lt;P&gt;I'm getting the same error for one of my reports now.&amp;nbsp; Is the code you used any different in your rebuilt report than it was when it broke?&amp;nbsp; If so, what does the before/after look like?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Mar 2021 13:36:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/displaying-multiple-images-from-repeat-issues-with/m-p/1035909#M33127</guid>
      <dc:creator>SaraMiller</dc:creator>
      <dc:date>2021-03-12T13:36:00Z</dc:date>
    </item>
  </channel>
</rss>

