AnsweredAssumed Answered

ADF2.3 ViewerComponent fails 'mimeType' of undefined

Question asked by janardhanc on Jun 28, 2018
Latest reply on Jun 28, 2018 by janardhanc
<adf-viewer      [showViewer]="true"      [overlayMode]="true"      [fileNodeId]="'d367023a-7ebe-4f3a-a7d0-4f27c43f1045'"></adf-viewer>

 

With simple hardcoded pdf doc id Viewer component fails. Please suggest resolution. Thanks.

 

core.js:1427 ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'mimeType' of undefined
TypeError: Cannot read property 'mimeType' of undefined
at ViewerComponent.setUpNodeFile (adf-core.js:829)
at eval (adf-core.js:788)
at ZoneDelegate.invoke (zone.js:391)
at Object.onInvoke (core.js:4753)
at ZoneDelegate.invoke (zone.js:390)
at Zone.run (zone.js:141)
at eval (zone.js:831)
at ZoneDelegate.invokeTask (zone.js:424)
at Object.onInvokeTask (core.js:4744)
at ZoneDelegate.invokeTask (zone.js:423)
at ViewerComponent.setUpNodeFile (adf-core.js:829)
at eval (adf-core.js:788)
at ZoneDelegate.invoke (zone.js:391)
at Object.onInvoke (core.js:4753)

Outcomes