• Preview tab not working

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #5295  by saad
 
Hi guys

I followed the wiki, and enabled the pdf2swf in the config file.

Also installed the converter, using macports, and it installed itself and the libraries. However when I want to preview a PDF, it doesnt work, all I get is the following empty screen:

Image

Here is the code for your reference:
Code: Select all
    # Default configuration values
    #
    # repository.config=repository.xml
    # repository.home=repository
    # system.user=system
    # default.user.role=UserRol
    # default.admin.role=AdminRol
    # principal.adapter=es.git.openkm.core.UsersRolesPrincipalAdapter
    max.file.size=500
    # max.search.results=25
    # system.demo=off
    # update.info=off
    # system.ocr=/usr/bin/tesseract
    # system.openoffice=on
    system.pdf2swf=/opt/local/bin/pdf2swf
    # system.readonly=off
    # system.antivir=/usr/bin/clamscan
    restrict.file.mime=off
    restrict.file.extension=*~,*.bak,._*

    principal.adapter=es.git.openkm.principal.LdapPrincipalAdapter
    principal.ldap.server=ldap://zimbra.foobarite.local
    principal.ldap.security.principal=cn=config
    principal.ldap.security.credentials=xxxxx
    principal.ldap.user.search.base=ou=people,dc=foobarite,dc=com
    principal.ldap.user.search.filter=(objectClass=posixAccount)
    principal.ldap.user.atribute=uid
    principal.ldap.role.search.base=ou=groups,dc=foobarite,dc=com
    principal.ldap.role.search.filter=(objectClass=posixGroup)
    principal.ldap.role.atribute=cn
    principal.ldap.mail.search.base=cn={0},ou=people,dc=foobarite,dc=com
    principal.ldap.mail.search.filter=(objectClass=organizationalPerson)
    principal.ldap.mail.atribute=zimbraMailDeliveryAddress
    system.login.lowercase=on
I checked the directory and the pdf2swf file is there.

Any help with this?

And how can I enable preview of word/excel files and jpeg pictures?

Thanks
 #5298  by jllort
 
1- Take a look at your server.log ( too see if happens some error ?
2- your pdf files has property copy disabled ?

Afirmation : with this configuration is not possible to preview anything, open office service is disabled ! it must be started as a service and yet configured in OpenKM:cfg
Code: Select all
 system.openoffice=on
 #5388  by flekschas
 
I do have another problem concerning the previews.
First of all everythings works fine except when working on some docs via webdav the preview is not updated. When doing the same editing via the webinterface the preview is updated immediately.
Is there a way that openkm updates the previews every time a doc is edited?

Thanks for your help
 #5452  by pavila
 
This bug is fixed in the upcomming OpenKM 5.0 release.
 #5637  by saketh
 
Hi,
first I want to thank you for such a great product and the possibility to use it as a open source application.
But i had a problem with preview tab, it's not working in my openkm...
I cannot view the preview of any files in the openkm...plz tell me the solution
Thank You...

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.