External Tab Document

From OpenKM Documentation
Jump to: navigation, search

External Tab Document feature allow to show tab content based on external URL request. There're two parameter passed as request parameter in URL request, the document uuid and the user id userId.


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




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

Okm user guide 552.png

Okm user guide 553.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">
<title>External URL request example</title>
	Request parameters
	<br />
	<br />
	<b>uuid:</b><%=request.getParameter("uuid")%><br />