<?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: Error when generating feature reports: Cannot read property 'value' of undefined. in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/error-when-generating-feature-reports-cannot-read/m-p/846392#M22135</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey &lt;A href="https://community.esri.com/migrated-users/397688"&gt;Matt Creaney&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had a similar issue, and after receiving support from Esri Inc, it turns out the issue with my report template was that I had multiple image references on a single line. Separating them onto dedicated lines fixed the issue with that report template.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately I now have another report template which was working fine previously, and as far as I can see it's not the same issue as I've checked all images within the template, so I'm uncertain the above will help, but it is worth checking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is a little frustrating that the report templates will be parsed correctly when uploaded, but these issues still appear to be a syntax issue. This is compounded by the fact the error response given by the Survey123 website has no useful information to troubleshoot the cause of the error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Sep 2020 03:55:54 GMT</pubDate>
    <dc:creator>EdmundHall</dc:creator>
    <dc:date>2020-09-07T03:55:54Z</dc:date>
    <item>
      <title>Error when generating feature reports: Cannot read property 'value' of undefined.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/error-when-generating-feature-reports-cannot-read/m-p/846388#M22131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After creating a custom report template in Survey123 and receiving no syntax errors, I attempt to run a sample report and get this error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="" style="color: #ffffff; background-color: #e06d56; border: 0px; font-weight: 600; font-size: 14px; margin-bottom: 20px; padding: 15px;"&gt;&lt;DIV class="" style="margin-top: 10px;"&gt;&lt;DIV class="" style="color: #ffffff; background-color: #d3533a; font-size: 14px; padding: 10px 15px;"&gt;Error occurred when rendering by the report engine. Cannot read property 'value' of undefined&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;There is no 'value' field in my surveys, and strangely enough, I was able to actually generate a report several times before I began receiving this error. So I know that my templates work correctly. Why this error all of a sudden? Did I run into an issue on the Esri Cloud side?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached the sample report that I got to generate correctly with my custom template, as well as the associated XLSX of the survey.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2020 21:03:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/error-when-generating-feature-reports-cannot-read/m-p/846388#M22131</guid>
      <dc:creator>KonradHughes</dc:creator>
      <dc:date>2020-03-04T21:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error when generating feature reports: Cannot read property 'value' of undefined.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/error-when-generating-feature-reports-cannot-read/m-p/846389#M22132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Konrad,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Apologies for the delay. &amp;nbsp;This might be better diagnosed via Esri Support - aside from the form, there may also be something about the features or feature service as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2020 20:43:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/error-when-generating-feature-reports-cannot-read/m-p/846389#M22132</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2020-04-21T20:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error when generating feature reports: Cannot read property 'value' of undefined.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/error-when-generating-feature-reports-cannot-read/m-p/846390#M22133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&amp;nbsp; I'm having this same issue with one of my templates.&amp;nbsp; There is no field called 'value', in fact the word does not exist on the report template at all.&amp;nbsp; I'm confident there is no issue with the template and this survey has a dozen or more similar templates associated with it that work correctly.&amp;nbsp; Syntax is fine on upload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/316268"&gt;Konrad Hughes&lt;/A&gt;‌ did you get anywhere with this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2020 00:29:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/error-when-generating-feature-reports-cannot-read/m-p/846390#M22133</guid>
      <dc:creator>MattCreaney</dc:creator>
      <dc:date>2020-05-21T00:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Error when generating feature reports: Cannot read property 'value' of undefined.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/error-when-generating-feature-reports-cannot-read/m-p/846391#M22134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make that 2 templates, the second of which worked correctly the first instance it was used...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2020 00:51:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/error-when-generating-feature-reports-cannot-read/m-p/846391#M22134</guid>
      <dc:creator>MattCreaney</dc:creator>
      <dc:date>2020-05-21T00:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error when generating feature reports: Cannot read property 'value' of undefined.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/error-when-generating-feature-reports-cannot-read/m-p/846392#M22135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey &lt;A href="https://community.esri.com/migrated-users/397688"&gt;Matt Creaney&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had a similar issue, and after receiving support from Esri Inc, it turns out the issue with my report template was that I had multiple image references on a single line. Separating them onto dedicated lines fixed the issue with that report template.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately I now have another report template which was working fine previously, and as far as I can see it's not the same issue as I've checked all images within the template, so I'm uncertain the above will help, but it is worth checking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is a little frustrating that the report templates will be parsed correctly when uploaded, but these issues still appear to be a syntax issue. This is compounded by the fact the error response given by the Survey123 website has no useful information to troubleshoot the cause of the error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Sep 2020 03:55:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/error-when-generating-feature-reports-cannot-read/m-p/846392#M22135</guid>
      <dc:creator>EdmundHall</dc:creator>
      <dc:date>2020-09-07T03:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error when generating feature reports: Cannot read property 'value' of undefined.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/error-when-generating-feature-reports-cannot-read/m-p/846393#M22136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi @Edmund_Hall&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, with this particular issue it turns out that I had multiple image references on a single line.&amp;nbsp; I agree that the parser should detect this issue really and it should have been documented and easy to find.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other issues I've had are the "" and&amp;nbsp;“” together in the same template causes the same error.&amp;nbsp; Perhaps try this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Sep 2020 06:03:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/error-when-generating-feature-reports-cannot-read/m-p/846393#M22136</guid>
      <dc:creator>MattCreaney</dc:creator>
      <dc:date>2020-09-07T06:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error when generating feature reports: Cannot read property 'value' of undefined.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/error-when-generating-feature-reports-cannot-read/m-p/846394#M22137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;A href="https://community.esri.com/migrated-users/397688"&gt;Matt Creaney&lt;/A&gt;‌&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Thanks for your suggestion - that was exactly what was causing the issue. Hopefully other people find this post too!&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Regards,&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Ed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Sep 2020 22:28:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/error-when-generating-feature-reports-cannot-read/m-p/846394#M22137</guid>
      <dc:creator>EdmundHall</dc:creator>
      <dc:date>2020-09-07T22:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error when generating feature reports: Cannot read property 'value' of undefined.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/error-when-generating-feature-reports-cannot-read/m-p/1258631#M47500</link>
      <description>&lt;P&gt;I have experienced this as well. For me it originally seemed like an error with using a code that involved get value, but may not have actual data in the form..... Once I fixed that I still got the error message and simply saved a copy of my template (and added a"USE" at the end as is our standard) and it worked perfectly without any other manipulation. Hopefully this helps if anybody runs into it without having the picture portion in the template.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 19:28:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/error-when-generating-feature-reports-cannot-read/m-p/1258631#M47500</guid>
      <dc:creator>ChaselWood</dc:creator>
      <dc:date>2023-02-15T19:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error when generating feature reports: Cannot read property 'value' of undefined.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/error-when-generating-feature-reports-cannot-read/m-p/1503735#M57831</link>
      <description>&lt;P&gt;Hi, I just came across the same issue and didn't have any photos on the same line.&amp;nbsp; My issue came down to the images being too large. I changed the file size from&amp;nbsp;${$file | size:400:0} ... ${/} to&amp;nbsp;${$file | size:100:0} ... ${/} and that seemed to do it.&amp;nbsp; Hopefully this can help someone else.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 18:24:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/error-when-generating-feature-reports-cannot-read/m-p/1503735#M57831</guid>
      <dc:creator>BNix_TPA</dc:creator>
      <dc:date>2024-07-10T18:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error when generating feature reports: Cannot read property 'value' of undefined.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/error-when-generating-feature-reports-cannot-read/m-p/1538127#M59137</link>
      <description>&lt;P&gt;I've had this same issue recently and adding this comment as it may help someone else.&amp;nbsp; I've spent hours and hours trying to troubleshoot this error in a report that has worked 100's of times, but now fails.&amp;nbsp; In the end it came down to 2 things:&lt;/P&gt;&lt;P&gt;1) A ${if question} statement inside a table, but the close tag ${/} was inadvertently situatated outside of the table.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2)&amp;nbsp; My image questions were multiline, allowing for multiple images.&amp;nbsp; In the report I had the question inside an if statement, to only take up report space if they existed so the code was:&lt;/P&gt;&lt;P&gt;${if H3_image}${#H3_image} ${$file | size:0:0:300:300} ${/}&lt;/P&gt;&lt;P&gt;The solution came down to needing a new line for the repeat image question, after the if statement:&lt;/P&gt;&lt;P&gt;${if H3_image}&lt;/P&gt;&lt;P&gt;${#H3_image} ${$file | size:0:0:300:300} ${/}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once I changed all of these, the report worked once again.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Until the next time that is.......strongly agree with all contributors.&amp;nbsp; The tedious process of trial and error uploading reports and running samples to find the issue and the useless information provided in the error message from the Survey123 site, is extremely frustrating.&amp;nbsp; A better way in future would be great!&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 04:33:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/error-when-generating-feature-reports-cannot-read/m-p/1538127#M59137</guid>
      <dc:creator>Martin-E1</dc:creator>
      <dc:date>2024-09-13T04:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error when generating feature reports: Cannot read property 'value' of undefined.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/error-when-generating-feature-reports-cannot-read/m-p/1700974#M66178</link>
      <description>&lt;P&gt;Hey everyone,&lt;/P&gt;&lt;P&gt;I wanted to share what ended up being the root cause of this error for us because it took a while to track down and I think it'll save someone else a headache. Shout out to everyone&amp;nbsp;for pointing me in the right direction.&lt;/P&gt;&lt;P&gt;We were getting the "Cannot read properties of undefined (reading 'value')" error when generating reports for one specific request type in our survey. What made it confusing was that we have multiple report templates — Facility Maintenance, Internal Maintenance, Event Setup, and General Maintenance — and all of them were generating just fine except Internal Maintenance.&lt;/P&gt;&lt;P&gt;To figure out what was different, I had Claude read both the working and broken templates as raw XML (a .docx file is really just a zip of XML files under the hood). That's when we spotted it.&lt;/P&gt;&lt;P&gt;In the working Facility Maintenance template, the photo syntax looked like this in the XML — fragmented across multiple runs:&lt;/P&gt;&lt;P&gt;[Run 1]: ${#&lt;BR /&gt;[Run 2]: photo}$&lt;BR /&gt;[Run 3]: {$file |&lt;BR /&gt;[Run 4]: size:350:250&lt;BR /&gt;[Run 5]: }${/}&lt;/P&gt;&lt;P&gt;But in the broken Internal Maintenance template, the same syntax was sitting in a single run:&lt;/P&gt;&lt;P&gt;[Run 1]: ${#photo}${$file | size:350:250}${/}&lt;/P&gt;&lt;P&gt;Visually in Word they look completely identical. But ESRI's report engine apparently can't handle all three photo tags concatenated in one XML run — it crashes with the "value" error instead of just rendering the image.&lt;/P&gt;&lt;P&gt;The reason they ended up different? The Facility template had the photo tags typed out manually, so Word naturally broke them into multiple runs as I typed (spell check interrupts, cursor movements, etc. all cause Word to start new runs). The Internal template had the same line copied and pasted in, which Word inserts as one clean continuous run.&lt;/P&gt;&lt;P&gt;The fix was straightforward once we knew what to look for — just retype the photo syntax manually in the template instead of pasting it, and it works perfectly.&lt;/P&gt;&lt;P&gt;Hopefully this helps someone. The error message gives you absolutely nothing to go on, so unless you're reading the raw XML you'd never find this. Would be great if ESRI's parser could handle both cases since they're logically identical — but for now, type don't paste when it comes to image tags.&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2026 18:47:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/error-when-generating-feature-reports-cannot-read/m-p/1700974#M66178</guid>
      <dc:creator>RonGarcia</dc:creator>
      <dc:date>2026-05-08T18:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error when generating feature reports: Cannot read property 'value' of undefined.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/error-when-generating-feature-reports-cannot-read/m-p/1701091#M66181</link>
      <description>&lt;P&gt;Wow, thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/902985"&gt;@RonGarcia&lt;/a&gt;&amp;nbsp;- that is incredibly useful to know.&amp;nbsp; Agree that it would be useful if&amp;nbsp; ESRI could update to deal with these situations, and also provide alot more context to the error messages in future to point us to the troublesome lines.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 10 May 2026 18:58:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/error-when-generating-feature-reports-cannot-read/m-p/1701091#M66181</guid>
      <dc:creator>Martin-E1</dc:creator>
      <dc:date>2026-05-10T18:58:34Z</dc:date>
    </item>
  </channel>
</rss>

