Is it possible to export the discussion information in an ascii format for using it externally ?
Do you mean the comments attached to a document in the Share view?
When I said Discussions, I was speaking about the forums tag as Discussions.
Is it possible to get all last themes of discussion with all comments in an ascii file ?
Sure, there are a couple ways you could do that. The Discussions component in Alfresco Share provides an RSS Feed, which will give you an XML representation of the topics and comments.
Another way to approach it is to look at the individual content items for each topic via the Javascript API, REST API or CMIS. If you look at the site through the node browser, you'll see that each site has a cm:discussions container node of type cm:folder. The children of that node are the discussion topics, of type fm:topic. The children of the topics are the the comments, of type fmost.
You could write a simple Javascript web script to fetch each topic and the associated posts, or do it through out of the box web service calls, either one would work. The Javascript console would also be a good way to solve this if you only need to do it once. A little server side Javascript could get the site, get the discussions folder, iterate over each topic and its posts and write all that out to a new content node.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.