AnsweredAssumed Answered

Quickshare preview of pdf docs failing

Question asked by hiten.rastogi on Mar 1, 2018



While clicking on the quickshare link generated by sharing the pdf docs I can see that the page opens up but shows a pop up showing that Could not load pdf content. This is on my custom code that doesn't have any customisation related to preview or thumbnail generation except for few addons that I don't think will do such changes.


On vanilla alfresco and I can see preview of the shared pdf doc but I can see a change in the REST call that the page make. I can see that vanilla alfresco make direct call to the node but in my code the call is made of the pdf type thumbnail of the pdf doc.


Now as far as I know pdf type thumbnail is not generated for pdf docs in alfresco so the issue is obvious but I would like to understand what can I check to figure out why there are different calls made so that I can rectify it.


Below are the calls :

Vanilla Alfresco : http://localhost:8080/share/proxy/alfresco-noauth/api/internal/shared/node/uEDmCJ6OTEygQVQuVoVAdQ/content/english%20docu… 


My code : http://localhost:8080/share/proxy/alfresco-noauth/api/internal/shared/node/VC7JH9RRSIOkFUEcnYZU4g/content/thumbnails/pdf… 


I cannot give info about the logs as there are none generated. Please help me out




Hiten Rastogi