I have a survey with numerous repeats that allow the user to upload unlimited photographs. I've included one repeat below as an example:
type | name | label |
---|---|---|
begin repeat | image_table | Take pictures showing the feature |
image | image_file | Image: |
end repeat |
When I print using the beta print fuctionality using a template with the following:
${#image_table}
${%image_file | size:460:0}
${/image_table}
The printing icon spins indefinitely. If I open the developer console up in Chrome, I get the following error:
vendor.bundle.js:1 ERROR Error: Uncaught (in promise): TypeError: Cannot set property 'image_file' of undefined
TypeError: Cannot set property 'image_file' of undefined
at 7.chunk.js:1
at Array.forEach (<anonymous>)
at 7.chunk.js:1
at Array.forEach (<anonymous>)
at 7.chunk.js:1
at t.invoke (polyfills.bundle.js:1)
at Object.onInvoke (vendor.bundle.js:1)
at t.invoke (polyfills.bundle.js:1)
at e.run (polyfills.bundle.js:1)
at polyfills.bundle.js:1
at t.invokeTask (polyfills.bundle.js:1)
at Object.onInvokeTask (vendor.bundle.js:1)
at t.invokeTask (polyfills.bundle.js:1)
at e.runTask (polyfills.bundle.js:1)
at a (polyfills.bundle.js:1)
at 7.chunk.js:1
at Array.forEach (<anonymous>)
at 7.chunk.js:1
at Array.forEach (<anonymous>)
at 7.chunk.js:1
at t.invoke (polyfills.bundle.js:1)
at Object.onInvoke (vendor.bundle.js:1)
at t.invoke (polyfills.bundle.js:1)
at e.run (polyfills.bundle.js:1)
at polyfills.bundle.js:1
at t.invokeTask (polyfills.bundle.js:1)
at Object.onInvokeTask (vendor.bundle.js:1)
at t.invokeTask (polyfills.bundle.js:1)
at e.runTask (polyfills.bundle.js:1)
at a (polyfills.bundle.js:1)
at new m (polyfills.bundle.js:1)
at c (polyfills.bundle.js:1)
at c (polyfills.bundle.js:1)
at polyfills.bundle.js:1
at t.invokeTask (polyfills.bundle.js:1)
at Object.onInvokeTask (vendor.bundle.js:1)
at t.invokeTask (polyfills.bundle.js:1)
at e.runTask (polyfills.bundle.js:1)
at a (polyfills.bundle.js:1)
at Image.invoke (polyfills.bundle.js:1)
ZWang-esristaff Can you take a look into this one? Thanks.
Hi cjbowles
Would you mind to share a simple XLSForm file that can reproduce the issue? I've tried to include a repeats which contains image question side in a survey, but I can successfully print the images by using the default template.