File Viewer widget

Hi,

 

I am using File Viewer widget , If I set File source property to Process document  , Show preview and model window works.

If I set I URL http://localhost:49448/bonita/portal/resource/processInstance/Display PDF/1.0/API/formsDocumentImage?document=1158

Show preview and model window stop working.

I see its works on Bonitasoft Overview tab under Documents, if the document attached .

What I am missing here please

Thanks,