Unable to add a map to reports

111
4
Jump to solution
01-20-2022 05:51 AM
HenryUnderwood1
New Contributor III

I have wrapped up a data collection project and am now looking at the reporting functions. The sample reports were decent and worked fine, including a map. However I wanted to change the format as well as adjust the map itself using my own template. 

I found that I am unable to create a report with a map using $location or $shape. Neither an unmodified template or an otherwise empty document with "${location}"  work.

Any ideas what could be causing the error?

An error occurred when rendering by the report engine. Failed to print map for ${location|mapSettings:"---------------------------------”:1000| size:600:600}. Error: Failed to print map: {"name":"request:server","message":"Error","details":{"url":"-------------------------------------","requestOptions":{"query":{"f":"json","returnExtentOnly":true,"returnCountOnly":true,"objectIds":"66","spatialRel":"esriSpatialRelIntersects"},"responseType":"json"},"ssl":false,"httpStatus":400,"messages":["This operation is not supported."],"raw":{"code":400,"message":"","details":["This operation is not supported."]}}}

0 Kudos
1 Solution

Accepted Solutions
HenryUnderwood1
New Contributor III

I remembered that I recently turned "Enable Sync" on as part of a recent tweak to the form.

After I turned sync off the map appears in the reports as expected.

View solution in original post

0 Kudos
4 Replies
HenryUnderwood1
New Contributor III

I remembered that I recently turned "Enable Sync" on as part of a recent tweak to the form.

After I turned sync off the map appears in the reports as expected.

0 Kudos
DavidMc_Laughlin
New Contributor III

Hi Henry, 

Where in the form did you turn on 'Enable sync'?

I'm running across a similar issue this morning where I'm unable to print off any reports.

Thanks.

0 Kudos
HenryUnderwood1
New Contributor III

Hi David,

This isn't a setting in the form, it's in the hosted feature layer used by the form. You should be able to find it in your ArcGIS Online content in a folder "Survey-..." This will look familiar if you are used to working with hosted feature layers.

HenryUnderwood1_0-1648556937229.png

 

DavidMc_Laughlin
New Contributor III

Hi Henry,

Thanks for your suggestion. Just tried this and no success, unfortunately. It must be something to do with the batch report option as when the report is printed on an 'individual feature' the output is fine.

Cheers, David.

0 Kudos