<?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: Feature Report - Nested/Nested photolog how to get the nested photos only for summited record? in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-nested-nested-photolog-how-to-get/m-p/1367036#M53821</link>
    <description>&lt;P&gt;I have attached an XLSX. Your form was giving me anxiety with the names not typing in, so I had to move to a fresh template (sorry). But, I highlighted 3 fields that I added so you can see what's going on.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;InspPosition&lt;/STRONG&gt; is just your position within the main repeat.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_0-1704493864368.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/90733i2E401946B5A7088F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_0-1704493864368.png" alt="abureaux_0-1704493864368.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EIH_position&lt;/STRONG&gt; (hidden) is a copy of your position within the main repeat for the nested &lt;EM&gt;image&lt;/EM&gt; repeat. This way, you know when a photo was taken in relation to the main repeat. &lt;STRONG&gt;EDIT&lt;/STRONG&gt;:&lt;EM&gt; It occurs to me that you will likely need to enclose the value in once() so it doesn't update old values accidentally.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_1-1704493901809.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/90734iDCCB864AF1953789/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_1-1704493901809.png" alt="abureaux_1-1704493901809.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;positionMax&lt;/STRONG&gt; is simply the highest value of InspPosition (aka, the last repeat item).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_2-1704493948839.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/90735iEF9B60590237D68D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_2-1704493948839.png" alt="abureaux_2-1704493948839.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the feature report, just use this:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;${#EIH_PhotoLog | &lt;SPAN class=""&gt;where:"&lt;/SPAN&gt;EIH_position = positionMax"}${EIH_Photo}${/}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;That should only print photos from the most recent submission. Though, can't say I spent too long going through your form, so I may have missed some function. If so, please let me know.&lt;/P&gt;</description>
    <pubDate>Fri, 05 Jan 2024 22:38:28 GMT</pubDate>
    <dc:creator>abureaux</dc:creator>
    <dc:date>2024-01-05T22:38:28Z</dc:date>
    <item>
      <title>Feature Report - Nested/Nested photolog how to get the nested photos only for summited record?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-nested-nested-photolog-how-to-get/m-p/1366981#M53819</link>
      <description>&lt;P&gt;I need only to pull the photos in repeat for the latest submission.&lt;/P&gt;&lt;P&gt;I used this code in other surveys, but it's not working as expected here ${if (EIH_PhotoLog | getValue:"count")&amp;gt;=1}&lt;/P&gt;&lt;P&gt;In this survey, the daily report is a nested repeat, and the photolog is nested again; things got complicated here.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've attached the .xlsx file and the feature report.&lt;/P&gt;&lt;P&gt;Here’s how to load everything if you need to work through it.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Publish with Inbox turned ON&lt;/LI&gt;&lt;LI&gt;AND turn OFF Sent Folder option&lt;/LI&gt;&lt;LI&gt;Complete two inspections; use the Inbox for the 2nd one.&lt;/LI&gt;&lt;LI&gt;Take a Environmental photo for each submission&lt;/LI&gt;&lt;LI&gt;Upload the feature report to AGOL/Survey123&lt;/LI&gt;&lt;LI&gt;And print&lt;/LI&gt;&lt;LI&gt;The photo prints for each (see PDF)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks for any help you can provide.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 20:31:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-nested-nested-photolog-how-to-get/m-p/1366981#M53819</guid>
      <dc:creator>MichelleWilliamsERM</dc:creator>
      <dc:date>2024-01-05T20:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Report - Nested/Nested photolog how to get the nested photos only for summited record?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-nested-nested-photolog-how-to-get/m-p/1367036#M53821</link>
      <description>&lt;P&gt;I have attached an XLSX. Your form was giving me anxiety with the names not typing in, so I had to move to a fresh template (sorry). But, I highlighted 3 fields that I added so you can see what's going on.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;InspPosition&lt;/STRONG&gt; is just your position within the main repeat.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_0-1704493864368.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/90733i2E401946B5A7088F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_0-1704493864368.png" alt="abureaux_0-1704493864368.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EIH_position&lt;/STRONG&gt; (hidden) is a copy of your position within the main repeat for the nested &lt;EM&gt;image&lt;/EM&gt; repeat. This way, you know when a photo was taken in relation to the main repeat. &lt;STRONG&gt;EDIT&lt;/STRONG&gt;:&lt;EM&gt; It occurs to me that you will likely need to enclose the value in once() so it doesn't update old values accidentally.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_1-1704493901809.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/90734iDCCB864AF1953789/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_1-1704493901809.png" alt="abureaux_1-1704493901809.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;positionMax&lt;/STRONG&gt; is simply the highest value of InspPosition (aka, the last repeat item).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_2-1704493948839.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/90735iEF9B60590237D68D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_2-1704493948839.png" alt="abureaux_2-1704493948839.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the feature report, just use this:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;${#EIH_PhotoLog | &lt;SPAN class=""&gt;where:"&lt;/SPAN&gt;EIH_position = positionMax"}${EIH_Photo}${/}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;That should only print photos from the most recent submission. Though, can't say I spent too long going through your form, so I may have missed some function. If so, please let me know.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 22:38:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-nested-nested-photolog-how-to-get/m-p/1367036#M53821</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2024-01-05T22:38:28Z</dc:date>
    </item>
  </channel>
</rss>

