<?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: Including fields from parent record in report in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/including-fields-from-parent-record-in-report/m-p/1482337#M57184</link>
    <description>&lt;P&gt;I believe the survey needs to target all the layers that you want to reference in the report.&lt;/P&gt;&lt;P&gt;But you don't need to create the report from the actual survey.&lt;/P&gt;&lt;P&gt;You can create another survey form that targets the entire layer then generate the reports from this, instead of the survey that only targets the related table.&lt;/P&gt;</description>
    <pubDate>Fri, 31 May 2024 23:25:48 GMT</pubDate>
    <dc:creator>ChristopherCounsell</dc:creator>
    <dc:date>2024-05-31T23:25:48Z</dc:date>
    <item>
      <title>Including fields from parent record in report</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/including-fields-from-parent-record-in-report/m-p/1482225#M57179</link>
      <description>&lt;P&gt;Hi! I've created a survey for what is basically an inspection workflow.&amp;nbsp;&lt;SPAN&gt;I need to run a report on the inspection table that references the site identification information in the related parent table. I've attempted following the instructions linked here, but it appears like those are deprecated:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-survey123-questions/created-survey123-from-feature-layer-with-related/m-p/1082207#M36084" target="_blank"&gt;https://community.esri.com/t5/arcgis-survey123-questions/created-survey123-from-feature-layer-with-related/m-p/1082207#M36084&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I receive a parsing error when I try the format of ${ParentLayer.FieldNameinParentLayer}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="michellekc_0-1717183834208.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/105933iBACD1A5418CF2A27/image-size/medium?v=v2&amp;amp;px=400" role="button" title="michellekc_0-1717183834208.png" alt="michellekc_0-1717183834208.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there a syntax fix to this? Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 19:32:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/including-fields-from-parent-record-in-report/m-p/1482225#M57179</guid>
      <dc:creator>michellekc</dc:creator>
      <dc:date>2024-05-31T19:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: Including fields from parent record in report</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/including-fields-from-parent-record-in-report/m-p/1482337#M57184</link>
      <description>&lt;P&gt;I believe the survey needs to target all the layers that you want to reference in the report.&lt;/P&gt;&lt;P&gt;But you don't need to create the report from the actual survey.&lt;/P&gt;&lt;P&gt;You can create another survey form that targets the entire layer then generate the reports from this, instead of the survey that only targets the related table.&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 23:25:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/including-fields-from-parent-record-in-report/m-p/1482337#M57184</guid>
      <dc:creator>ChristopherCounsell</dc:creator>
      <dc:date>2024-05-31T23:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Including fields from parent record in report</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/including-fields-from-parent-record-in-report/m-p/1483338#M57203</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_0-1717432085064.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/106010i80CFD6DC3FA7EA37/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_0-1717432085064.png" alt="abureaux_0-1717432085064.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is a common error, and we cant really help without seeing the Feature Report, but maybe also the XLSX. What it's telling you is essentially "SITE_ID" is somewhere it shouldn't be. E.g., You referenced it inside a repeat when the actual item exists in the main feature layer. So something like: ${#some_repeat}${SITE_ID}${/} instead of just ${SITE_ID}&lt;/P&gt;&lt;P&gt;Again, there are a bunch of different configurations that could result in this, and listing all of them isn't practical.&lt;/P&gt;&lt;P&gt;You can only reference an item within the feature layer that it exists in. All surveys have a "main" feature layer. And all repeats are "related tables", which means they are technically different feature layers. There is &lt;EM&gt;one&lt;/EM&gt; example though: You can use "dot notation" to pull something down a layer (e.g., from the main feature layer into a repeat).&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 16:31:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/including-fields-from-parent-record-in-report/m-p/1483338#M57203</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2024-06-03T16:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Including fields from parent record in report</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/including-fields-from-parent-record-in-report/m-p/1484563#M57238</link>
      <description>&lt;P&gt;Thanks for your input! I've been trying out the dot notation. If my main feature is "DOEE_Wetland_Inventory" then {DOEE_Wetland_Inventory.SITE_ID} should theoretically work, right? I'm getting the same parsing error, so I feel like I'm doing something wrong still.&lt;/P&gt;&lt;P&gt;I've attached my xlsx and feature report template.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 17:03:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/including-fields-from-parent-record-in-report/m-p/1484563#M57238</guid>
      <dc:creator>michellekc</dc:creator>
      <dc:date>2024-06-04T17:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Including fields from parent record in report</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/including-fields-from-parent-record-in-report/m-p/1484581#M57239</link>
      <description>&lt;P&gt;As I am on Enterprise, I cannot publish from Connect with capitals in the "name" column. So, I cannot test this myself unfortunately.&lt;/P&gt;&lt;P&gt;Here are a couple observations though:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Your Feature Report question "${DOEE_Wetland_Inventory.SITE_ID}" will not work because "SITE_ID" doesn't exist in the XLSX &lt;EM&gt;**&lt;/EM&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_0-1717521372901.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/106146i021C4BD68C574419/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_0-1717521372901.png" alt="abureaux_0-1717521372901.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;Check the Feature Layer name just to be safe. To do this: Go to the "Schema" tab &amp;gt; check the Feature Layer name under "Layers/Tables". In my case, assuming "SITE_ID" was in the XLSX, my dot notation would be something like "${Wetland_Assessment.SITE_ID}"&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_1-1717521528951.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/106147iCD135220C2EF4BE7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_1-1717521528951.png" alt="abureaux_1-1717521528951.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;You only need to use dot notation when you are pulling something down a layer (e.g., From the main Feature Layer Wetland_Assessment into a repeat such as Vegetation_Profile). However, your SITE_ID reference (i.e., ${DOEE_Wetland_Inventory.SITE_ID}) is the &lt;EM&gt;very first thing&lt;/EM&gt; in your Feature Report (and also not nested in any other tags). This has a few implications, so my first question would be "what layer is SITE_ID in?". Please note that you cannot pull something &lt;EM&gt;up&lt;/EM&gt; a layer (e.g., from a repeat such as Vegetation_Profile into the main Feature Layer of Wetland_Assessment) this way.&lt;/LI&gt;&lt;LI&gt;You may wish to make list_combined_plants an External Select (CSV) as it is a very large list (&amp;gt;500 items)&lt;/LI&gt;&lt;LI&gt;"note" question types do not require a &lt;EM&gt;name&lt;/EM&gt;. Adding a &lt;EM&gt;name&lt;/EM&gt; to a note will result in that note being added to your Feature Layer unnecessarily.&lt;/LI&gt;&lt;LI&gt;Your XLSForm is outdated.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;EM&gt;** EDIT: I am kind of making an assumption here... technically, you could have published this Feature Layer from ArcPro and then chose to omit "SITE_ID", or you could have published from Connect and then later deleted "SITE_ID" from the XLSX. In both of those cases, SITE_ID would actually exist in the Feature Layer&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 17:29:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/including-fields-from-parent-record-in-report/m-p/1484581#M57239</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2024-06-04T17:29:15Z</dc:date>
    </item>
  </channel>
</rss>

