When I have a Community
object, I can use setContent()
to enter HTML text to be displayed as part of the Community Overview page.
On the other hand, when I have fetched an existing Community object e. g. as member of community.getSubCommunities()
and call subcommunity.getContent()
, I receive null
. If I call subcommunity.getSummary()
, I only receive the plain text (cleaned, no HTML).
How can I fetch the existing HTML content?
(Rationale: I have built some nice "content template" as HTML and want to use this for other communities programmatically. In the IC UI I cannot display the HTML source code afaik, I can only see the "rich text".)
Versions:
IBM SBT SDK 1.0.2.20140527-1807 deployed on Tomcat 7.0.53 running on Java 7, firing against IC v4.5 using BasicAuth.
EDIT 20140725:
I corrected the text "call subcommunity.getContent()
, I receive null
". I had NULL in lt/gt pair which did not render here at all. Sorry :-(