cancel
Showing results for 
Search instead for 
Did you mean: 

Create Wiki entries programatically

sselvan
Champ in-the-making
Champ in-the-making
I need to create wiki entries programatically in Alfresco Share.

Basically, I am trying to migrate the wiki content of some other Wiki Application into that of Alfresco Share.
The source database is either HSQLDB or MySQLDB.

Ideally, I need to write code to read the database, but that has to be written into Alfresco Share Wiki.
Which API I can use for this and how to do it?

Please advice me on how to do this. Any help is appreciated!!
2 REPLIES 2

stevegreenbaum
Champ in-the-making
Champ in-the-making
I never looked to see if how to do this via the api, but I did notice that each wiki page is addressable via webdav (and I assume CIFS).  Just write a html file to the Wiki folder in the Sites/yourprojectname/wiki/  path I've never tried this, but it is worth looking at as an option.

sselvan
Champ in-the-making
Champ in-the-making
Thanks Steve for your response.
In fact, that is what I happened to do couple of days ago, because my source system also had all HTML files in its directory.
So, all I had to do was to move the HTML files into the wiki space of the Sites.