• Download documents straightly by their url

  • Nous essayons de faire OpenKM aussi intuitif que possible, mais tout avis est bienvenu.
Nous essayons de faire OpenKM aussi intuitif que possible, mais tout avis est bienvenu.

Moderator: dedisoft

Forum rules: Avant de poser une question, merci de regarder la documentation du wiki ou d'utiliser la fonction recherche du forum. Et rappelez vous que nous n'avons ni boule de cristal ni possibilité de lire dans les pensées, aussi pensez à spécifier quelle version d'OpenKM vous utilisez ainsi que la version du navigateur web et du système d'exploitation. Pour de plus amples informations lisez Comment reporter un bug efficacement (anglais).
 #49648  by mamad
 
Hi guys
As you know we can go to a specific document by entering its url in browser like below :
http://<ip address of server>/OpenKM/frontend/index.jsp?uuid=<uuid of document>
I want to know if its possible to download a document straightly by entering its url in the browser ? I mean i dont want to open the main window of openkm and then double click on the document to download it. I want a url that every time i enter it in the browser it starts downloading the specified document if i have read and download access.
Thanks in advance
 #49658  by jllort
 
For authenticated users:
http://<ip address of server>/OpenKM/frontend/Download?uuid=<uuid of document>

For non authenticated users (
https://docs.openkm.com/kcenter/view/ok ... -link.html

In professional edition, we have the option to generate a token for downloading what does not require authentication.

I suggest take a look at both classes in github for a complete list of variables and options you have in this url's:
https://github.com/openkm/document-mana ... rvlet.java
https://github.com/openkm/document-mana ... rvlet.java

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.