<?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: Include related data from origin table in survey123 report in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/include-related-data-from-origin-table-in/m-p/1132825#M39698</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/251934"&gt;@StaceyHenk&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;This looks a similar case to&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-survey123-questions/include-related-records-in-feature-report/m-p/1132821/highlight/true#M39697" target="_blank"&gt;https://community.esri.com/t5/arcgis-survey123-questions/include-related-records-in-feature-report/m-p/1132821/highlight/true#M39697&lt;/A&gt;&amp;nbsp;.&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If you iterate from the child layer,&lt;UL&gt;&lt;LI&gt;${#inspections}&lt;BR /&gt;Fetch attribute of the parent outfall: ${Outfall.field1}&lt;BR /&gt;${/}&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;If you want to iterate all inspections of an outfall&lt;UL&gt;&lt;LI&gt;${#Outfall}&lt;BR /&gt;(The data context is already a specific outfall)&lt;BR /&gt;${#inspections}&lt;BR /&gt;This is an inspection of ${Outfall.outfallName} on ${inspectionDate}&lt;BR /&gt;${/}&lt;BR /&gt;${/}&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Wed, 12 Jan 2022 12:12:23 GMT</pubDate>
    <dc:creator>ZhifangWang</dc:creator>
    <dc:date>2022-01-12T12:12:23Z</dc:date>
    <item>
      <title>Include related data from origin table in survey123 report</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/include-related-data-from-origin-table-in/m-p/1125042#M39195</link>
      <description>&lt;P&gt;I have a survey that is used to perform inspections on outfall structures.&amp;nbsp; The setup is a one to many relationship, with one outfall for numerous inspection.&amp;nbsp; I am hoping to use the Survey123 reporting tool, but need to figure out if it's possible to pull information from the parent/origin data (the outfall) to the inspection report.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attempted to do this following the information in the 'repeats' section of this page&amp;nbsp;&lt;A href="https://doc.arcgis.com/en/survey123/browser/analyze-results/featurereporttemplates.htm" target="_blank" rel="noopener"&gt;https://doc.arcgis.com/en/survey123/browser/analyze-results/featurereporttemplates.htm&lt;/A&gt;&amp;nbsp;however this outputs data from&amp;nbsp;&lt;EM&gt;ALL&amp;nbsp;&lt;/EM&gt; of the outfalls, not just the one the inspection pertains to.&amp;nbsp; I figured something like this might work but haven't had luck&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;${#Outfall} ${if (${ID} == ${Inspection.OutfallID}}) ${LocDesc} ${/} &amp;nbsp;&amp;nbsp;&amp;nbsp;${/Outfall}&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:30:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/include-related-data-from-origin-table-in/m-p/1125042#M39195</guid>
      <dc:creator>StaceyHenk</dc:creator>
      <dc:date>2021-12-10T20:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Include related data from origin table in survey123 report</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/include-related-data-from-origin-table-in/m-p/1132825#M39698</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/251934"&gt;@StaceyHenk&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;This looks a similar case to&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-survey123-questions/include-related-records-in-feature-report/m-p/1132821/highlight/true#M39697" target="_blank"&gt;https://community.esri.com/t5/arcgis-survey123-questions/include-related-records-in-feature-report/m-p/1132821/highlight/true#M39697&lt;/A&gt;&amp;nbsp;.&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If you iterate from the child layer,&lt;UL&gt;&lt;LI&gt;${#inspections}&lt;BR /&gt;Fetch attribute of the parent outfall: ${Outfall.field1}&lt;BR /&gt;${/}&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;If you want to iterate all inspections of an outfall&lt;UL&gt;&lt;LI&gt;${#Outfall}&lt;BR /&gt;(The data context is already a specific outfall)&lt;BR /&gt;${#inspections}&lt;BR /&gt;This is an inspection of ${Outfall.outfallName} on ${inspectionDate}&lt;BR /&gt;${/}&lt;BR /&gt;${/}&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 12 Jan 2022 12:12:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/include-related-data-from-origin-table-in/m-p/1132825#M39698</guid>
      <dc:creator>ZhifangWang</dc:creator>
      <dc:date>2022-01-12T12:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Include related data from origin table in survey123 report</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/include-related-data-from-origin-table-in/m-p/1132853#M39702</link>
      <description>&lt;P&gt;Thanks for the response!&amp;nbsp; I tested out:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;${#Outfall} ${Outfall.LOCDESC} ${/}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;It returns the LOCDESC of all outfalls in the parent feature class, not just the LOCDESC of the current report.&amp;nbsp; Is there something I need to add so that it only grabs the LOCDESC of the active GlobalID or ObjectID?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 14:11:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/include-related-data-from-origin-table-in/m-p/1132853#M39702</guid>
      <dc:creator>StaceyHenk</dc:creator>
      <dc:date>2022-01-12T14:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Include related data from origin table in survey123 report</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/include-related-data-from-origin-table-in/m-p/1132855#M39703</link>
      <description>&lt;P&gt;I also tried:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;${#Inspection} ${Outfall.LOCDESC} ${/}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;and received an error:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Error: An error occurred when checking the report template. Failed to parse &lt;/SPAN&gt;&lt;I&gt;${Outfall.LOCDESC}&lt;/I&gt;&lt;SPAN&gt; since &lt;/SPAN&gt;&lt;I&gt;LOCDESC&lt;/I&gt;&lt;SPAN&gt; cannot be found in the current parsing scope.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 14:13:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/include-related-data-from-origin-table-in/m-p/1132855#M39703</guid>
      <dc:creator>StaceyHenk</dc:creator>
      <dc:date>2022-01-12T14:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: Include related data from origin table in survey123 report</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/include-related-data-from-origin-table-in/m-p/1310152#M50739</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/251934"&gt;@StaceyHenk&lt;/a&gt;&amp;nbsp;- Did you ever get this working?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 17:46:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/include-related-data-from-origin-table-in/m-p/1310152#M50739</guid>
      <dc:creator>JJ_Reyes</dc:creator>
      <dc:date>2023-07-20T17:46:16Z</dc:date>
    </item>
  </channel>
</rss>

