cancel
Showing results for 
Search instead for 
Did you mean: 

Training project - Knowledge Base tool

mhilaire
Champ in-the-making
Champ in-the-making
Hello !

I'm a student at the computing university of La Rochelle, and during my school training the 4 last months, i developped a Knowledge Base for the company Irium (at La Rochelle, in France) http://www.irium-group.com/
I just finished my training project in the company and wanted to show you what i did in 4 months (6 weeks of whom to analyze).
I used webscripts and policies to manage my own type of documents. Then i created the User Interface with the Javascript framework ExtJS as in the project Opsoro.
The goal of my project, was to help different customer of Irium to use their software.The support of Irium, help me to define different type of document such as FAQ that they will write.The sheet are html file, which can contain one or more attachments (any kind of file).

You can test this application on this URL :
http://mhilaire.com/IRKB (for my User Interface)
http://mhilaire.com/alfresco (for Alfresco WebClient)

I made 3 different account :
log : editor, mdp: editor (to publih sheet as FAQ …)
log : customer1, mdp : customer1 (to read every published sheet)
log:customer, mdp : customer (to read ONLY published FAQ or HowTo)

(If the server is down you can see the video at this url http://hilaire.maxime.free.fr/IRKB, there are french doc too (use case …))

With the company, we wanted to help the community, all my source code are under GPL licence, but i prefer to edit name of groups use in the company before sharing the source.

Please tell me what you think about it, you can ask me any questions or remark
10 REPLIES 10

mhilaire
Champ in-the-making
Champ in-the-making
Hello, i have the pleasure to announce you, the first released of the Knowledge Base project IRKB. You can download all source and AMP on this url : http://forge.alfresco.com/projects/irkb/

This represent the end of my internship.This project could be improve … I study again, but I’ll be on hand on the forum.

The version 2.9 and up of Alfresco are better.

The French doc is available http://hilaire.maxime.free.fr/IRKB
Here are the short step for quick install :

1)   Install AMP, start Alfresco

2)All user of IRKB have to be set in the IRKB group created during the bootstrap (IRKB_irum for editor)

3)   In the “data dictionary”>"Templates">"org "> "Irium "> "Irkb ">ir_irkb_link.ftl
Edit the url of the host to IRKB interface, to display a link of the sheet in the webclient.

4)   Unzip the WebsiteRIA.zip in the webapps directory
5)   Download and Unzip the extJS framework (http://extjs.com/products/extjs/download.php) in the root of the interface directory to make the “ext” directory
6)   All the interface property are contained in the file in IRKB/js : irkb_config.js.
var ROOT_URL = "http://'+window.location.host; //URL of the host (get automatically in the web browser)
var HOSTE_URL = 'http://your_IP:8080';//different URL to same host (the only one value to edit by defaukt in the file)
var GROUP_PUBLISHER = "GROUP_IRKB_Irium"; //Editor group
var ALFRESCO_URL = ROOT_URL +'/alfresco/';
var IRKB_URL = ROOT_URL+'/IRKB/';

Please ask me any question if needed.

PS: The log4j.properties file will be install and display all DEBUG message in the console.

I found your contribution very interessting. We want to localize your contibution in german and test it. So we will spend the german version to the community. Please contact us to go further.

Ok, no problem to translate in german. There are only 2 files to edit in the specific user interface and one file more for the webclient.

norgan
Champ in-the-making
Champ in-the-making
Bon Jour, M.

It would be best to create a project in alfresco forge, move your documentation and installation directions to the "project documentation" and may have a look into the wiki, where to place/mention it for marketing and search for helping others.

BTW - Cool stuff Smiley Happy

Regards, Norgan

copeland
Champ in-the-making
Champ in-the-making
Hello!
I have downloaded the IRKB application and I was trying to learn about it but I have problem. When I try to create an Error Message I can't save it! I filled all the atributes of the new sheet window but when I click on the save button it doesn't works. Have you ever got the same problem? (I logged at the application as "editor" user).

Could you help me please?

Thank you

mhilaire
Champ in-the-making
Champ in-the-making
Hello,

sorry, i was a little bit busy. I found a bug in the JavaScript code, in the file named "IrkbCreateWindow.js". You can update the file from the svn or download all the the zip file .

Thank you for your report !

mialfresco
Champ in-the-making
Champ in-the-making
hi mhilaire,
Great Job!!!
The sample server is down.
where i can get the documentation on this project in english?

mialfresco
Champ in-the-making
Champ in-the-making
Hi team,
did anyone having the docs for this project in english?
If have, Please upload it in net and contribute the download link to the community.

thanks in advance.

mhilaire
Champ in-the-making
Champ in-the-making
Sorry, but the test server, will not be restarted (i'm a student, and i haven't buy an online server).

For the moment, i haven't time to translate the documentation in english, but i can explain you some specific point or details about your question.

mialfresco
Champ in-the-making
Champ in-the-making
Hi mhilaire, thanks for your response.
I have some questions on this. i.e integrating or developing the ui for alfresco using extjs.
How to call the backend alfresco repository from this extjs application? how it works?
Do we need to develop the java code for that? what are the environment setting for ext js?
It is very helpful to the community if you translate it into english.

mhilaire
Champ in-the-making
Champ in-the-making
The backend of my application is made with java custom behaviour to set permissions or deny removing content when there are attachments.
The architecture is very similar to opsoro. See : http://www.opsoro.org/architecture
I use webscript to call the backend. So, you just have to send http request (type : post or get)  to the webscript. Then parse the response (in JSON or XML).
It's very simple to made it with a JS framework like ExtJS.

For example to send an "ajax" request :

Ext.Ajax.request({
                            url: ALFRESCO_URL +'service/irkb/contentHit',
                            method: 'GET',
                            success: function(){  
                                  alert('success !');
                            },
                            params: {
                               node:node                             
                            }
                        });

ExtJS provide also some object called 'dataStore'. You define a default parser and an url , and you can 'load' this object with the webscript's response :


dataStore.load({
                        params: {
                            id:values,
                            start: 0
                        },
                        callback:loadRows
                   });

So you don't need to develop java code.