Difference between revisions of "External Preview"

From OpenKM Documentation
Jump to: navigation, search
(Created page with "External Preview feature allow to preview some document based on external url request. There two parameters passed as request parameter in url request, the document '''uuid'''...")
 
Line 13: Line 13:
  
 
[[File:Okm_user_guide_544.png|center]]
 
[[File:Okm_user_guide_544.png|center]]
 +
 +
'''Use'''
 +
 +
Select a document with one of the mime-type set in configuration parameters. Show preview parameter. Will be shown the external url based on document mime-type.
 +
 +
[[File:Okm_user_guide_545.png|center]]
 +
 +
'''Sample test'''
 +
  
 
[[Category: User Guide]]
 
[[Category: User Guide]]

Revision as of 20:32, 2 November 2014

External Preview feature allow to preview some document based on external url request. There two parameters passed as request parameter in url request, the document uuid and the downloadUrl.

Configuration

There's a configuration property at Administration / Configuration called extended.external.preview. Each row couple of values is a menu popup declaration, the format is: mime-type,url

Example

application/illustrator;http://localhost:8180/OpenKM/test.jsp
application/epub+zip;http://localhost:8180/OpenKM/epub_previewer.jsp
application/x-mspublisher;;http://localhost:8180/OpenKM/mspreviewer_previewer.jsp


Okm user guide 544.png

Use

Select a document with one of the mime-type set in configuration parameters. Show preview parameter. Will be shown the external url based on document mime-type.

Okm user guide 545.png

Sample test