Extra tab with OpenKM url link
From OpenKM Documentation
Example how using ExtraTab with iframe that contains references to OpenKM object as links. Can be used any object - document, email, folder, record - UUID.
Create and HTML file with OpenKM UUID's links Create a file called extra_tab.html.
<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');">Document link example 1</a>
</body>
</html>
Copy extra_tab.html file into $TOMCAT/webapps/OpenKM folder.
Finally configure ExtraTab with the new url. Something like http://localhost:8080/OpenKM/extra_tab.html
Take http://localhost:8080/OpenKM/extra_tab.html as example in each case should use your own OpenKM application url. |