Difference between revisions of "External Tab Folder"

From OpenKM Documentation
Jump to: navigation, search
Line 8: Line 8:
  
 
Example
 
Example
  name-1;http://localhost:8180/OpenKM/test.jsp
+
  name1;http://localhost:8180/OpenKM/test.jsp
  name-2;http://localhost:8180/OpenKM/test2.jsp
+
  name2;http://localhost:8180/OpenKM/test2.jsp
  name-3;http://localhost:8180/OpenKM/test3.jsp
+
  name3;http://localhost:8180/OpenKM/test3.jsp
  
 
[[File:Okm_user_guide_554.png|center]]
 
[[File:Okm_user_guide_554.png|center]]

Revision as of 20:08, 2 November 2014

External Tab Folder feature allow to show tab content based on external url request. There is one parameter passed as request parameter in url request, the folder uuid.


Configuration

There's a configuration property at Administration / Configuration called extended.external.tab.folder. Each row couple of values is a tab content declaration, the format is: name,url

Example

name1;http://localhost:8180/OpenKM/test.jsp
name2;http://localhost:8180/OpenKM/test2.jsp
name3;http://localhost:8180/OpenKM/test3.jsp
Okm user guide 554.png


Use

Select a folder and then select one of the extended tabs to see the content based on the external url request.


Okm user guide 555.png


Okm user guide 556.png


Sample test File test.jsp.

<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>External URL request example</title>
</head>
<body>
	Request parameters
	<br />
	<br />
	<b>uuid:</b><%=request.getParameter("uuid")%><br />
</body>
</html>