cancel
Showing results for 
Search instead for 
Did you mean: 

How to add document preview feature into SearchResultPropertyLink

janaka1984
Star Contributor
Star Contributor

Hi,

how can i add document preview feature into SearchResultPropertyLink?

Reards

janaka

12 REPLIES 12

Hi dave ,

when i tested this document preview on apple PC , i can see particular document on popup dialog. but tool bar is just shown and invisible .

OSX ver. 10.11.6
firefox 49.0.2

ddraper
World-Class Innovator
World-Class Innovator

OK, that does seem strange... it looks like you're just showing the raw PDF.js output in a dialog without going through the outer AlfDocumentPreview widget - is this possible? We do have unit tests that cover these capabilities and they are used in and tested in production and an issue such as this hasn't been reported.

Are you getting this purely through the NodePreviewService or are you going via some other mechanism? What custom code is being used?

Unfortunately it is very difficult to provide any meaningful assistance without being able to see your code. What debugging steps have you taken? Are any errors being shown in the browser console?

What version of Alfresco / Aikau are you using here?

The problem arises with all kinds of documents (pdf, excel, ppt, etc.) only on the mac. The toolbar appears for less than a second when the preview window is opened and then somehow it disappears. Everything works on a ms windows machine properly.  There are no any errors on browser console.

i use following widget to preview document

                                                                                                        {
                                                                                                           name: "alfresco/renderers/Thumbnail",                                                                                                        
                                                                                                           config: {

                                                                                                              width: "40px",
                                                                                                              showDocumentPreview: true,
                                                                                                              publishGlobal: false,
                                                                                                              publishToParent: true
                                                                                                           }
                                                                                                        }