Skip to content

Showing Chatter (aka FeedItem) #218

Answered by deejay-hub
mayday6971 asked this question in Q&A
Discussion options

You must be logged in to vote

Chatter isn't supported in the current code base.

Adding support for FeedItem would require some careful thought (polls vs post, images, large data blocks). Something I will leave up to the community. There are 2 options

  1. Someone sends a pull request with the necessary code changes
  2. You fork the repo and add the changes

In the Timeline Service (getChildObjects method) you would have to play around with the checks performed

List<Schema.ChildRelationship> objectRelationships = ((SObject) (Type.forName('Schema.' + parentObject)
               .newInstance()))
           .getSObjectType()
           .getDescribe()
           .getChildRelationships();
           
       for (Schema.Childrelati…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@deejay-hub
Comment options

Answer selected by deejay-hub
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
documentation Improvements or additions to documentation
2 participants