How can I add a comment to a RAM discussion using the Java API?
I want to add a comment programmatically through the Java API. I have made a few attempts with things like
topic.createPost("title", "description") and asset.getForums()[0].getTopics()[0].setPosts(newPostArray). I get no errors or exceptions, but my the comments in the discussion area of my asset are not updated.
Is it possible to add comments to an asset?
I will also need to add ratings to assets as well. Is that also possible?
Thanks,
Dennis
topic.createPost("title", "description") and asset.getForums()[0].getTopics()[0].setPosts(newPostArray). I get no errors or exceptions, but my the comments in the discussion area of my asset are not updated.
Is it possible to add comments to an asset?
I will also need to add ratings to assets as well. Is that also possible?
Thanks,
Dennis
One answer
Hi,
I think the sample in documentation works for me in 7521, here is a url for your reference:
http://pic.dhe.ibm.com/infocenter/ramhelp/v7r5m1/topic/com.ibm.ram.doc/topics/r_api_createaforum.html
My guess is that you may need to call put in the end of process to make you change in client side about forum and topics submitted to server.
Thanks.
I think the sample in documentation works for me in 7521, here is a url for your reference:
http://pic.dhe.ibm.com/infocenter/ramhelp/v7r5m1/topic/com.ibm.ram.doc/topics/r_api_createaforum.html
My guess is that you may need to call put in the end of process to make you change in client side about forum and topics submitted to server.
Thanks.