Tab UI content extension using KCenter methods
Esta página aún no está disponible en tu idioma.
The following sample demonstrates how to access KCenter API methods from an external application with JavaScript.
Step 1 - create a sample HTML file
Section titled “Step 1 - create a sample HTML file”Create the following sample HTML file and copy it to the webapps/openkm folder with the name test.html
<html> <head> <script type="text/javascript" src="kcenter/api/common.js"></script> <script type="text/javascript" src="kcenter/api/browser.js"></script> </head> <body> <h1>Quick sample about how do request to exposed KCenter API</h1>
<button onclick="_refreshUI()"> Refresh the UI in the browser view </button> </body></html>