AnsweredAssumed Answered

Beta Print - Cannot Set Property 'image_file' of undefined

Question asked by cjbowles on Oct 19, 2017
Latest reply on Oct 22, 2017 by ZWang-esristaff

I have a survey with numerous repeats that allow the user to upload unlimited photographs. I've included one repeat below as an example:

 

typenamelabel
begin repeatimage_tableTake pictures showing the feature
imageimage_fileImage:
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)

Outcomes