cancel
Showing results for 
Search instead for 
Did you mean: 

Flash document viewer for the Alfresco repository

sergi_l
Champ on-the-rise
Champ on-the-rise
Hi all!!

I want to use the Flash document viewer in my Alfresco application instead of Share application but I don't get it. Is it possible? Could anybody help me?
I'm trying to export the web-preview script to Alfresco and invoke it, but I thing I'm missing too many javascript references.

How could I configure the Flash document viewer to allow the user to read the PDF files stored in Alfresco instead of Alfresco Share?
Please, help!

Thanks!!
Sergi
1 REPLY 1

sergi_l
Champ on-the-rise
Champ on-the-rise
The functionality I need to add to my Alfresco repository is what I have seen through the Share document-details template.
This template receives an input nodeRef parameter (it can belong to the Alfresco repository instead of Share) and I understand that at the end shows the flash player with the corresponding document using the "web-preview" web script. Is it true?

Then, can I use directly this web script called "web-preview" to get a flash PDF viewer for my documents? How can I invoke it to view a document?

According to its specification, web-preview.get.desc.xml, no input parameter is needed. However, the code works with "args.htmlid" and "args.nodeRef"
Sending these two parameters I get a JavaScript error because "Alfresco is undefined", so some libraries are not included correctly. But debuggin I can see the node is retrieved.

Please, help! Thanks.
Sergi