Newer Version Available
Post a Rich-Text Feed Element with Inline Image
Call a method or use the ConnectApiHelper repository to post a feed element with an
already uploaded, inline image.
You can post rich-text feed elements with inline images and mentions two ways. Use the
ConnectApiHelper repository on GitHub to write a single line
of code, or use this example, which calls postFeedElement(communityId,
feedElement). In this example, the image file is existing content that has
already been uploaded to Salesforce as a content document (069). The post also includes text
and a
mention.