I have a business case where currently we post chatter feeds to a Chatter Group using Apex. This is done by assigning the CollaborationGroup (chatter Group) Id to the ParentId field on the FeedItem.
Each of this post is generated when a Record is created. So it is related to a record as well. However since the ParentId field has Group Id, it does not reflect on the record's chatter. (this is fine)
Now, we need to have a custom visualforce related list on the Record detail page where we'll be showing the Chatter feeds related to the particular record. Since the feeds we generate are been assigned to the Chatter group, there is no way we can identify which record each feed is related to.
Is there any direct solution to assign a feed to a record and also show it in a Group? Or would I need to have two feeds - one for the group and one for the record. (I hope this isn't the case)