Difference between revisions of "Extra tab with OpenKM url link"

From OpenKM Documentation
Jump to: navigation, search
(Created page with "Example how using Extra tab with iframe that contains references to OpenKM object as links. Create and HTML file with UUID links: <source lang="xml"> <html> <head> <tit...")
(No difference)

Revision as of 13:27, 7 April 2014

Example how using Extra tab with iframe that contains references to OpenKM object as links.

Create and HTML file with UUID links:

<html>
<head>
  <title>Example</title>
</head>
<script type="text/javascript">
  function openPath(path) { 
    parent.jsOpenPathByUuid(path);
  }
</script>
<body>
<h1>url</h1>
  <a href="javascript:void();" onclick="openPath('9789ac11-ac03-4ce7-87e9-9643b0ddf99a');">folder or document with UUID=9789ac11-ac03-4ce7-87e9-9643b0ddf99a</a>
</body>
</html>