Select to view content in your preferred language

Feature report - error

970
4
07-30-2019 04:13 AM
KonstantinNagornyuk1
Emerging Contributor

I've created a sample feature report template. The template was created successfully. But An error occurred while generating report(s).

I tested different options and discovered a problem with layer.Name: Error: Cannot read property 'layerName' of undefined.

My steps:

  • Download the sample feature report template
  • Delete the sample feature report template from ArcGIS Online
  • Upload the sample feature report template.

The template was not changed.

0 Kudos
4 Replies
Jim-Moore
Esri Regular Contributor

Hi Konstantin

Thanks for the screenshots and steps. Are any of the layer names in your feature service duplicated? Do any of the layer names contain special characters? If possible, could you please provide the feature report template DOCX file and survey XLSForm to help with troubleshooting?

Thanks,

Jim

0 Kudos
KonstantinNagornyuk1
Emerging Contributor

Hi Jim

I'v sent you the feature report template DOCX file and survey XLSForm using email.

0 Kudos
Jim-Moore
Esri Regular Contributor

Hi Konstantin, I've just sent you a direct message via GeoNet.

Thanks,

Jim

0 Kudos
Jim-Moore
Esri Regular Contributor

Hi Konstantin

Just updating this thread with the outcome of our discussion by email. The error was caused by a duplicate name in the XLSForm, specifically a begin group element that had a text question inside it with the same name. Making these names unique solved the issue. Our team has made improvements to the feature report template logic to better handle this and the fix will be included in the next release.


Thanks again for reporting it.

Best regards,
Jim

0 Kudos