cancel
Showing results for 
Search instead for 
Did you mean: 

Adding discussion feature of alfresco in other web applicati

abhashree
Champ in-the-making
Champ in-the-making
Hi All,

I want to add the discussion feature of alfresco in my web application.
There should be a button like discussion in the jsp page ..while clicking on the button it will redirect the "discussion " feature of alfresco.
So that end user can create new discussion,edit & delete.

I think it can be done by calling web script of " discussion" from my web application.

I have gone through the web scripts of discussion in the path Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\templates\webscripts\org\alfresco\repository\discussions .there are many web scripts ..so which web script I should call and what should be the url of web script for calling

Please guide me.

Thanks,
Abhashree
2 REPLIES 2

mitpatoliya
Star Collaborator
Star Collaborator
Hi abhashree,

If you refer this links in your installation
http://localhost:8080/alfresco/service/index/package/org/alfresco/repository/discussions/forum
http://localhost:8080/alfresco/service/index/package/org/alfresco/repository/discussions/posts

you will get the list of all the webscripts related to discussion.
It also has description as well as URLS and details about how to call those webscripts.

abhashree
Champ in-the-making
Champ in-the-making
Hi Mitpatoliya,

Thanks for your reply.

As per your suggestion i gone through the links but I m not getting a clear idea for using those webscripts.

Should I write a new webscript for calling all the webscripts or any way for getting the requiremnet.

How can I call all the required webscripts from a single jsp file ?

I am confused.

Basically my requirement is to interact with discussion forum of alfresco share from another web application .

So that the user can create new discussion,edit,reply and delete the posts.
There are individual webscripts for every action .
I have idea about calling one webscript from another web application .
But not idea on how to call all the required webscripts.

Please give me one example .
Please help.

Thanks
Abhashree