Difference between revisions of "Enable example extensions"

From OpenKM Documentation
Jump to: navigation, search
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
In order enable OpenKM extension go to administrator tab and select query view. Then select jdbc and register the extensions in your dbms.
+
In order enable OpenKM extension go to '''Administration''' tab and click on '''Database query''' button. Then select JDBC and register the extensions in your DBMS.
  
 
'''ToolBarButtonExample'''  
 
'''ToolBarButtonExample'''  
 
<source lang="sql">
 
<source lang="sql">
INSERT INTO OKM_EXTENSION (EX_UUID,EX_DESCRIPTION) VALUES('9f84b330-d096-11df-bd3b-0800200c9a66','Toolbar button example');
+
INSERT INTO OKM_EXTENSION (EXT_UUID,EXT_NAME) VALUES('9f84b330-d096-11df-bd3b-0800200c9a66','Toolbar button example');
 
</source>
 
</source>
  
 
'''TabWorkspaceExample'''
 
'''TabWorkspaceExample'''
 
<source lang="sql">
 
<source lang="sql">
INSERT INTO OKM_EXTENSION (EX_UUID,EX_DESCRIPTION) VALUES('44f94470-d097-11df-bd3b-0800200c9a66','Tab workspace example');
+
INSERT INTO OKM_EXTENSION (EXT_UUID,EXT_NAME) VALUES('44f94470-d097-11df-bd3b-0800200c9a66','Tab workspace example');
 
</source>
 
</source>
  
 
'''TabFolderExample'''
 
'''TabFolderExample'''
 
<source lang="sql">
 
<source lang="sql">
INSERT INTO OKM_EXTENSION (EX_UUID,EX_DESCRIPTION) VALUES('d95e01a0-d097-11df-bd3b-0800200c9a66','Tab folder example');
+
INSERT INTO OKM_EXTENSION (EXT_UUID,EXT_NAME) VALUES('d95e01a0-d097-11df-bd3b-0800200c9a66','Tab folder example');
 
</source>
 
</source>
  
 
'''HelloWorld'''
 
'''HelloWorld'''
 
<source lang="sql">
 
<source lang="sql">
INSERT INTO OKM_EXTENSION (EX_UUID,EX_DESCRIPTION) VALUES('d9dab640-d098-11df-bd3b-0800200c9a66','Hello world example');
+
INSERT INTO OKM_EXTENSION (EXT_UUID,EXT_NAME) VALUES('d9dab640-d098-11df-bd3b-0800200c9a66','Hello world example');
 
</source>
 
</source>
 +
 +
After that, you also need to enable the proper extensions in '''Administration''' > '''Profiles'''.
  
 
[[Category: Extension Guide]]
 
[[Category: Extension Guide]]

Latest revision as of 11:01, 24 August 2011

In order enable OpenKM extension go to Administration tab and click on Database query button. Then select JDBC and register the extensions in your DBMS.

ToolBarButtonExample

INSERT INTO OKM_EXTENSION (EXT_UUID,EXT_NAME) VALUES('9f84b330-d096-11df-bd3b-0800200c9a66','Toolbar button example');

TabWorkspaceExample

INSERT INTO OKM_EXTENSION (EXT_UUID,EXT_NAME) VALUES('44f94470-d097-11df-bd3b-0800200c9a66','Tab workspace example');

TabFolderExample

INSERT INTO OKM_EXTENSION (EXT_UUID,EXT_NAME) VALUES('d95e01a0-d097-11df-bd3b-0800200c9a66','Tab folder example');

HelloWorld

INSERT INTO OKM_EXTENSION (EXT_UUID,EXT_NAME) VALUES('d9dab640-d098-11df-bd3b-0800200c9a66','Hello world example');

After that, you also need to enable the proper extensions in Administration > Profiles.