Difference between revisions of "Direct link"

From OpenKM Documentation
Jump to: navigation, search
Line 9: Line 9:
 
  http://'''user''':'''user'''@openkm_host/OpenKM/Download?'''path'''=/okm:root/test/test.doc
 
  http://'''user''':'''user'''@openkm_host/OpenKM/Download?'''path'''=/okm:root/test/test.doc
  
{{Note|If you use path parameter good practice is encode url to prevent problems with special characters}}
+
{{Note|If you use path parameter, ia good practice encode url to prevent problems with special characters}}

Revision as of 13:02, 21 November 2012

Direct link need a user which have login grants. A good practice is configure the profile of this user to disallow anything when login from openkm UI.

Available parameters:

  • uuid ( the document UUID )
  • path ( the document path )

Example

http://user:user@openkm_host/OpenKM/Download?uuid=4ca63b87-e340-443e-aeef-6c7e2fb57aea
http://user:user@openkm_host/OpenKM/Download?path=/okm:root/test/test.doc

Nota clasica.png If you use path parameter, ia good practice encode url to prevent problems with special characters