Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Create Message Board
Hello!
I have to create a message board and add new threads to it automatically, via Java. I found that i could use something like MBMessageLocalServiceUtil, but i can't find anything that show how to use it properly. Any suggestion?
Thanks!
I have to create a message board and add new threads to it automatically, via Java. I found that i could use something like MBMessageLocalServiceUtil, but i can't find anything that show how to use it properly. Any suggestion?
Thanks!
Also look at MBThreadLocalServiceUtil and MBCategoryLocalServiceUtil. I
think besides the scant javadocs, looking at liferay's source code is
the best way to figure out how to use it.
https://docs.liferay.com/portal/7.0/javadocs/portal-kernel/com/liferay/message/boards/kernel/service/MBMessageLocalServiceUtil.html
https://docs.liferay.com/portal/7.0/javadocs/portal-kernel/com/liferay/message/boards/kernel/service/MBMessageLocalServiceUtil.html
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™