<?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: SURVEY123 REPORT ENGINE ERROR in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-report-engine-error/m-p/769137#M3246</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/84025"&gt;JAVIER VARA SANZ&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;Seems the report engine cannot parse the placeholder&amp;nbsp;&lt;EM&gt;2020_Prescribed_Fire_Grant_Application_MASTER.Grants&amp;nbsp;&lt;/EM&gt;as a valid field name or a field name from a parent layer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you please confirm which is your case regarding the field name in the database?&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Is &lt;EM&gt;2020_Prescribed_Fire_Grant_Application_MASTER.Grants &lt;/EM&gt;is a whole field name that contains period (.) inside the name?&lt;/LI&gt;&lt;LI&gt;Or&amp;nbsp;&lt;EM&gt;2020_Prescribed_Fire_Grant_Application_MASTER&amp;nbsp;&lt;/EM&gt;is a layer name while only&amp;nbsp;&lt;EM&gt;Grants&lt;/EM&gt; is a field name?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently, the report engine doesn't support field name which contains a preriod (.) in it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition, it will be helpful if it's possible to share the original XLSForm and report template file for us to investigate/confirm the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Zhifang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Oct 2019 03:24:59 GMT</pubDate>
    <dc:creator>ZhifangWang</dc:creator>
    <dc:date>2019-10-21T03:24:59Z</dc:date>
    <item>
      <title>SURVEY123 REPORT ENGINE ERROR</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-report-engine-error/m-p/769136#M3245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #f9f9f9; color: #000000; "&gt;I'm trying to run reports from a custom template, but keep getting errors for every field I reference.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #cccccc;"&gt;&lt;SPAN style="background-color: #f9f9f9;"&gt;Error occurred when rendering by the report engine. Failed to parse&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;EM style="background-color: #f9f9f9;"&gt;${2020_Prescribed_Fire_Grant_Application_MASTER.Grants}&lt;/EM&gt;&lt;SPAN style="background-color: #f9f9f9;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f9f9f9; color: #000000; "&gt;Please advise.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2019 19:56:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-report-engine-error/m-p/769136#M3245</guid>
      <dc:creator>JAVIERVARA_SANZ</dc:creator>
      <dc:date>2019-10-18T19:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: SURVEY123 REPORT ENGINE ERROR</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-report-engine-error/m-p/769137#M3246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/84025"&gt;JAVIER VARA SANZ&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;Seems the report engine cannot parse the placeholder&amp;nbsp;&lt;EM&gt;2020_Prescribed_Fire_Grant_Application_MASTER.Grants&amp;nbsp;&lt;/EM&gt;as a valid field name or a field name from a parent layer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you please confirm which is your case regarding the field name in the database?&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Is &lt;EM&gt;2020_Prescribed_Fire_Grant_Application_MASTER.Grants &lt;/EM&gt;is a whole field name that contains period (.) inside the name?&lt;/LI&gt;&lt;LI&gt;Or&amp;nbsp;&lt;EM&gt;2020_Prescribed_Fire_Grant_Application_MASTER&amp;nbsp;&lt;/EM&gt;is a layer name while only&amp;nbsp;&lt;EM&gt;Grants&lt;/EM&gt; is a field name?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently, the report engine doesn't support field name which contains a preriod (.) in it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition, it will be helpful if it's possible to share the original XLSForm and report template file for us to investigate/confirm the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Zhifang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2019 03:24:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-report-engine-error/m-p/769137#M3246</guid>
      <dc:creator>ZhifangWang</dc:creator>
      <dc:date>2019-10-21T03:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: SURVEY123 REPORT ENGINE ERROR</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-report-engine-error/m-p/769138#M3247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Zhifang.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To answer your question, &lt;EM style="background-color: #ffffff; border: 0px;"&gt;2020_Prescribed_Fire_Grant_Application_MASTER&amp;nbsp;&lt;/EM&gt;&lt;SPAN style="background-color: #ffffff;"&gt;is a layer name while only&amp;nbsp;&lt;/SPAN&gt;&lt;EM style="background-color: #ffffff; border: 0px;"&gt;Grants&lt;/EM&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is a field name. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;However, I believe the issue is related with the name of the layer itself starting with a number, since, although the actual name in the survey is 2020_Prescribed_Fire_Grant_Application_MASTER, it has been saved in AGOL as _&lt;SPAN&gt;2020_Prescribed_Fire_Grant_Application_MASTER.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;As a workaround I've done the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Export the layer to my computer&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Rename the feature class to (Prescribed_Fire_GRANT_2020_Application_MASTER) , the relationship class (Prescribed_Fire_Grant_2020_Application_MASTER__ATTACHREL), and the attachments table (Prescribed_Fire_Grant_2020_Application_MASTER__ATTACH)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="background-color: #ffffff;"&gt;ZIP the resulting geodatabase and upload it back to AGOL to create an independent hosted feature layer (&lt;SPAN&gt;Prescribed_Fire_Grant_2020_Application_REPORT)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Create a copy of the Survey and name it Prescribed_Fire_Grant_2020_Application_REPORT&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Update the XLXS form to add a submission URL that points to the new hosted feature layer&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;At this point I'm able to generate the report without any issues. I can't really wait for this to be resolved, so I'm glad the steps mentioned above have worked so far. I'm not sure about the attachments though, so we'll see. The bad news is that the layer will no longer be connected to the original data source. This is not important in my case, but definitely a minus.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Taking all my feedback above, could you confirm it the fact the the service was created where the name starts with a number might be the origin of the issue. If affirmative, it would be good to either allow it in the future, or make sure Survey123 Connect prevents users from creating reports under this circumstances.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Thanks a lot for getting back with me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG style="background-color: #ffffff; "&gt;Javier&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2019 14:38:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-report-engine-error/m-p/769138#M3247</guid>
      <dc:creator>JAVIERVARA_SANZ</dc:creator>
      <dc:date>2019-10-21T14:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: SURVEY123 REPORT ENGINE ERROR</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-report-engine-error/m-p/769139#M3248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Javier,&lt;/P&gt;&lt;P&gt;Thank you for the detailed information and also sharing the workaround which may help others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can reproduce the issue by creating a simple survey whose name starts with a number and also contains a repeat from Survey123 Connect, then try to reference a field in the parent layer by using the survey name inside the repeat section in the report template. So for your question, yes, I can confirm that the issue is caused by the additional underscore in the behind layer name which is not the same as the survey name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition to your workaround&amp;nbsp;above, could you try to simply add an underscore in the main layer name in your original template to see if it works for you? For example,&amp;nbsp;instead of using&amp;nbsp;&lt;EM&gt;${2020_Prescribed_Fire_Grant_Application_MASTER.Grants}&lt;/EM&gt;, use&amp;nbsp;&lt;EM&gt;${&lt;SPAN style="color: #ff6600;"&gt;&lt;STRONG&gt;_&lt;/STRONG&gt;&lt;/SPAN&gt;2020_Prescribed_Fire_Grant_Application_MASTER.Grants}&amp;nbsp;&lt;/EM&gt;to access the field in the parent layer inside a repeat section.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The report engine is designed for being able to work with a feature service directly (even without a survey), so using the correct layer name should work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know&amp;nbsp;if it does not work for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Zhifang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2019 14:45:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-report-engine-error/m-p/769139#M3248</guid>
      <dc:creator>ZhifangWang</dc:creator>
      <dc:date>2019-10-22T14:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: SURVEY123 REPORT ENGINE ERROR</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-report-engine-error/m-p/769140#M3249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the prompt response Zhifang.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand the workflow you are suggesting, but my word document is simply referencing ${Grants}. Please confirm it will be OK replacing it with&amp;nbsp;&lt;EM style="background-color: #ffffff; border: 0px;"&gt;${&lt;SPAN style="color: #ff6600; border: 0px; font-weight: inherit;"&gt;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;_&lt;/STRONG&gt;&lt;/SPAN&gt;2020_Prescribed_Fire_Grant_Application_MASTER.Grants}.&amp;nbsp;&lt;/EM&gt;If that is the case, I'll give it a try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also FYI, I'm not using repeats in this survey, and producing the reports directly off Survey123.com, although my step is to generate them through the API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Javier&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2019 15:26:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-report-engine-error/m-p/769140#M3249</guid>
      <dc:creator>JAVIERVARA_SANZ</dc:creator>
      <dc:date>2019-10-22T15:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: SURVEY123 REPORT ENGINE ERROR</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-report-engine-error/m-p/769141#M3250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;Javier,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Can you please confirm that it's only&amp;nbsp;the field name&amp;nbsp;&lt;SPAN&gt;&lt;EM&gt;${Grants}&lt;/EM&gt;&amp;nbsp;in your report template and your didn't reference it by layer name while error message returned by the report engine includes the layer name before the field name as&amp;nbsp;&lt;EM style="color: #000000; background-color: #f9f9f9; border: 0px;"&gt;${2020_Prescribed_Fire_Grant_Application_MASTER.Grants} &lt;/EM&gt;?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;If this is true, would you mind sharing some detailed steps to reproduce the issue? I've tried the following steps but there is no error during the syntax checking or generation of the report.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;1. Create a new survey in Survey123 Connect which name starts with a number. For example, "2020_startWithNumber".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;2. Leave the only text question "example" in the XLSForm untouched and publish the survey.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp; * I can observe that the underlying feature layer name is "_2020_startWithNumber".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;3. Submit a record in either the web app or the field app.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;4. Try to generate a feature report by using the default sample report template, which contains the placeholder "${example}".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;Reproduce steps would help us a lot to investigate the issue.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;Zhifang&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2019 13:17:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-report-engine-error/m-p/769141#M3250</guid>
      <dc:creator>ZhifangWang</dc:creator>
      <dc:date>2019-12-09T13:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: SURVEY123 REPORT ENGINE ERROR</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-report-engine-error/m-p/1149568#M40952</link>
      <description>&lt;P&gt;Hello! Until today this thread is very helpful. I got the same&amp;nbsp; error, and I figured out that the survey layer name starts with number. What I have done to correct is:&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. I logged in to my dashboard&amp;gt;content&amp;gt;survey form folder&lt;/P&gt;&lt;P&gt;2. Open the feature class (hosted)&lt;/P&gt;&lt;P&gt;3. I change the name of my point layer from "1" to "mobile_monitoring_form"&lt;/P&gt;&lt;P&gt;4. It works!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much. You guys save my life!&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 14:43:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-report-engine-error/m-p/1149568#M40952</guid>
      <dc:creator>NationalTobaccoAdministration</dc:creator>
      <dc:date>2022-03-02T14:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: SURVEY123 REPORT ENGINE ERROR</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-report-engine-error/m-p/1167108#M42313</link>
      <description>&lt;P&gt;hello, I've also been having this problem, although it solves the situation of the reports, then it creates problems in sending new reports, because it doesn't recognize the layer&lt;BR /&gt;&lt;BR /&gt;thanks&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2022 17:19:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-report-engine-error/m-p/1167108#M42313</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-04-22T17:19:16Z</dc:date>
    </item>
  </channel>
</rss>

