<?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 Create unique photo label with data from nested repeatables in Survey 123 report template in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/create-unique-photo-label-with-data-from-nested/m-p/1031232#M32793</link>
    <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;I am trying to create unique photo labels to associate field observations (primary repeatable) with their photos (nested repeatable) in a Survey123 report template. I have three different kinds of observations, each with their own photos. The survey is laid out as follows:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Main survey questions&lt;UL&gt;&lt;LI&gt;Observations (primary repeatable) &amp;gt; Photos (nested repeatable)&lt;/LI&gt;&lt;LI&gt;Known Issues (primary repeatable) &amp;gt; Photos (nested repeatable)&lt;/LI&gt;&lt;LI&gt;New Issues (primary repeatable) &amp;gt; Photos (nested repeatable)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Remainder of main survey questions&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I’m trying to create an end-of-document photolog that encompasses all the photos taken. To link the actual observation record with the photo, I need some sort of photo identifier (“Photo 1” or “Observation 1, Photo1”).&lt;/P&gt;&lt;P&gt;I tried referencing the photo position, but found that creates repeat numbers between primary repeatables (Observations Repeat entry 1 Photo 1 would have a position of 1, and Observations Repeat entry 2 Photo 1 would also have a position of 1).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried joining the repeatable position of the primary with the repeatable position of the photo but ended up with this:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Input&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Output&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;${#Observations_Repeat}&lt;/P&gt;&lt;P&gt;O${$feature | getValue: "position"} ${/}: ${#Observations_Repeat} ${#Observations_Photos_Repeat} P${$feature | getValue: "position"} ${/} ${/}&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;O1 : P1 P2 P3&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;The goal of the above statement being to achieve something like O1:P1, O1:P2, etc.&lt;/P&gt;&lt;P&gt;Is there a way to create unique photo labels from data in nested repeatables without creating a specific field for it in the survey itself?&amp;nbsp;Is there a way to link the GlobalID//ParentGlobalID?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts/ideas are welcome and greatly appreciated!&lt;/P&gt;</description>
    <pubDate>Sat, 27 Feb 2021 00:52:51 GMT</pubDate>
    <dc:creator>MaddieShields2</dc:creator>
    <dc:date>2021-02-27T00:52:51Z</dc:date>
    <item>
      <title>Create unique photo label with data from nested repeatables in Survey 123 report template</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/create-unique-photo-label-with-data-from-nested/m-p/1031232#M32793</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;I am trying to create unique photo labels to associate field observations (primary repeatable) with their photos (nested repeatable) in a Survey123 report template. I have three different kinds of observations, each with their own photos. The survey is laid out as follows:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Main survey questions&lt;UL&gt;&lt;LI&gt;Observations (primary repeatable) &amp;gt; Photos (nested repeatable)&lt;/LI&gt;&lt;LI&gt;Known Issues (primary repeatable) &amp;gt; Photos (nested repeatable)&lt;/LI&gt;&lt;LI&gt;New Issues (primary repeatable) &amp;gt; Photos (nested repeatable)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Remainder of main survey questions&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I’m trying to create an end-of-document photolog that encompasses all the photos taken. To link the actual observation record with the photo, I need some sort of photo identifier (“Photo 1” or “Observation 1, Photo1”).&lt;/P&gt;&lt;P&gt;I tried referencing the photo position, but found that creates repeat numbers between primary repeatables (Observations Repeat entry 1 Photo 1 would have a position of 1, and Observations Repeat entry 2 Photo 1 would also have a position of 1).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried joining the repeatable position of the primary with the repeatable position of the photo but ended up with this:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Input&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Output&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;${#Observations_Repeat}&lt;/P&gt;&lt;P&gt;O${$feature | getValue: "position"} ${/}: ${#Observations_Repeat} ${#Observations_Photos_Repeat} P${$feature | getValue: "position"} ${/} ${/}&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;O1 : P1 P2 P3&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;The goal of the above statement being to achieve something like O1:P1, O1:P2, etc.&lt;/P&gt;&lt;P&gt;Is there a way to create unique photo labels from data in nested repeatables without creating a specific field for it in the survey itself?&amp;nbsp;Is there a way to link the GlobalID//ParentGlobalID?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts/ideas are welcome and greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Sat, 27 Feb 2021 00:52:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/create-unique-photo-label-with-data-from-nested/m-p/1031232#M32793</guid>
      <dc:creator>MaddieShields2</dc:creator>
      <dc:date>2021-02-27T00:52:51Z</dc:date>
    </item>
  </channel>
</rss>

