Page 1 of 1
Repository view is missing in OpenKM 6.2
PostPosted:Mon Dec 10, 2012 11:46 am
by hariharan.gopal
Hi,
I have downloaded OpenKM 6.2 and installed in Ubuntu server 12.04.1... Its working fine but Repository view is present... So please help me to get that tab...
Thanking You
Hariharan
Re: Repository view is missing in OpenKM 6.2
PostPosted:Mon Dec 10, 2012 12:50 pm
by shaardu
open web-app, goto admin folder -->menu.jsp-->add a tab there with link as RepositoryView
Re: Repository view is missing in OpenKM 6.2
PostPosted:Mon Dec 10, 2012 1:07 pm
by hariharan.gopal
Hi, Thanks for the reply..
But could you brief me a little more...
Where is the web-app
Re: Repository view is missing in OpenKM 6.2
PostPosted:Mon Dec 10, 2012 1:15 pm
by hariharan.gopal
Dear Sharadu Sir,
I have opened web-app --> admin --> menu.jsp...
But dont know what to do next... Im new to this... So please help me..
Thanking You
Hariharan
Re: Repository view is missing in OpenKM 6.2
PostPosted:Mon Dec 10, 2012 1:24 pm
by hariharan.gopal
Below are the datas are availbale in menu.jsp:
Code: Select all<%@ page import="com.openkm.core.Config"%>
<%@ page import="com.openkm.servlet.admin.BaseServlet"%>
<%@ page import="com.openkm.extension.dao.ExtensionDAO"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!-- http://stackoverflow.com/questions/1708054/center-ul-li-into-div -->
<div style="text-align: center">
<ul style="display: inline-block;">
<li>
<a target="frame" href="home.jsp" title="Home">
<img src="img/toolbar/home.png">
</a>
</li>
<li>
<a target="frame" href="Config" title="Config">
<img src="img/toolbar/config.png">
</a>
</li>
<li>
<a target="frame" href="MimeType" title="Mime types">
<img src="img/toolbar/mime.png">
</a>
</li>
<li>
<a target="frame" href="stats.jsp" title="Stats">
<img src="img/toolbar/stats.png">
</a>
</li>
<li>
<a target="frame" href="scripting.jsp" title="Scripting">
<img src="img/toolbar/scripting.png">
</a>
</li>
<li>
<a target="frame" href="PropertyGroups" title="Metadata">
<img src="img/toolbar/properties.png">
</a>
</li>
<li>
<a target="frame" href="Auth" title="Users">
<img src="img/toolbar/users.png">
</a>
</li>
<li>
<a target="frame" href="Profile" title="Profiles">
<img src="img/toolbar/profile.png">
</a>
</li>
<li>
<a target="frame" href="DatabaseQuery" title="Database query">
<img src="img/toolbar/database.png">
</a>
</li>
<li>
<a target="frame" href="Report" title="Reports">
<img src="img/toolbar/report.png" title="Reports">
</a>
</li>
<li>
<a target="frame" href="ActivityLog" title="Log">
<img src="img/toolbar/activity.png">
</a>
</li>
<li>
<a target="frame" href="Workflow" title="Workflow">
<img src="img/toolbar/workflow.png">
</a>
</li>
<li>
<a target="frame" href="Automation" title="Automation">
<img src="img/toolbar/automation.png">
</a>
</li>
<li>
<a target="frame" href="CronTab" title="Crontab">
<img src="img/toolbar/crontab.png">
</a>
</li>
<li>
<a target="frame" href="generate_thesaurus.jsp" title="Thesaurus">
<img src="img/toolbar/thesaurus.png">
</a>
</li>
<li>
<a target="frame" href="Language" title="Language">
<img src="img/toolbar/language.png">
</a>
</li>
<li>
<a target="frame" href="repository_import.jsp" title="Import">
<img src="img/toolbar/import.png">
</a>
</li>
<li>
<a target="frame" href="repository_export.jsp" title="Export">
<img src="img/toolbar/export.png">
</a>
</li>
<li>
<a target="frame" href="utilities.jsp" title="Utilities">
<img src="img/toolbar/utilities.png">
</a>
</li>
<script type="text/javascript">
// Identify if being loaded inside an iframe
if (self == top) {
document.write(' \n');
document.write('<li>\n');
document.write('<a href="logout.jsp" title="Exit"><img src="img/toolba$
document.write('</li>\n');
}
</script>
</ul>
</div>
Were should I do the changes to get the Repository View... Please Help me...
Re: Repository view is missing in OpenKM 6.2
PostPosted:Tue Dec 11, 2012 7:35 am
by shaardu
Add a these lines below, last </li>
Code: Select all<li>
<a target="frame" href="repository_list.jsp" title="View">
<img src="img/toolbar/export.png">
</a>
</li>
check now
Re: Repository view is missing in OpenKM 6.2
PostPosted:Tue Dec 11, 2012 8:00 am
by hariharan.gopal
Hi,
Now I just got the view... But how to do the scripting in it...
I am not able to perform any action in it,...
Re: Repository view is missing in OpenKM 6.2
PostPosted:Tue Dec 11, 2012 8:20 pm
by Snowflakes
I'm pretty sure in 6.2 the whole scripting at the Repository level thing has turned into scripting via the Automation tab. Here, you define a validator-action pair in which you define 1: an event that happens (document created within a specific folder, for example) and 2: an action that happens because of that. In the Community version, you can only check for "PathContains", meaning something happened in a specific folder and "ExecuteScripting" as an action. If you have the Professional version of OpenKM, you'll have a bunch of extra options for pre-created scripts such as "AddKeyword", "AddCategorytoWizard", etc...
BTW, you have to enable automation first to make anything work:
http://wiki.openkm.com/index.php/Enable_automation
I can't help you with the scripts that actually go in the ExecuteScripting action. I'm stuck at that part myself, actually. Seems that directly taking scripts from 5.x versions of OpenKM doesn't work in 6.2...
Re: Repository view is missing in OpenKM 6.2
PostPosted:Sat Dec 15, 2012 1:29 pm
by pavila