AnsweredAssumed Answered

Document Preview configuration with webscript

Question asked by bilalsaeed on Jul 25, 2016
Latest reply on Sep 15, 2016 by ddraper
I have a javscript based webscript using which user can upload files, create folders and retrieve uploaded files and their respective metadata. Now I want to enable a functionality for user to preview the uploaded files in Document Preview Pane of share console. Unfortunately I couldn't able to find any builtin webscript in alfresco console( <a>http://172.20.3.63:8080/alfresco/s/index</a>). Or any javascript api. I did able to find webscript in share console( <a>http://http://172.20.3.63:8080/share/page/index </a>)
<a>http://http://172.20.3.63:8080/share/page/components/preview/web-preview?nodeRef=workspace://SpacesStore/d6e102a7-a0f1-4a20-ac05-387bb3636529</a> But result is a blank webpage. I want to allow user to preview the file based on the authentication of my webscript which is based on alfresco ticket.

Any suggestion to achieve aforementioned functionality? Thanks in advance and my apology for such a basic topic as I am a newbie in Alfresco.

Outcomes