Extra tab with OpenKM url link

From OpenKM Documentation
Revision as of 13:27, 7 April 2014 by Jllort (talk | contribs) (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...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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>