notes.emalee.dev

understanding feed publisher & feed types in salesforce lightning communities

originally written & published 12.06.2017

This article was written for the Summer ‘17 Salesforce Release. In future releases, some or all of the information below may be inaccurate.

This article is the documentation I wish existed for the various “Feed” components in Salesforce Lightning Communities. I have collected this information mainly through trial-and-error, first-hand experiences while building communities for enterprise clients. If you have additions to this information or answers to any of my open questions, please let me know in the discussion section below.

Feed Publisher

The most important property of the Feed Publisher to understand is the Type field. Type refers to the Publisher Layout you wish to show, Global or Record. These can be modified in Salesforce Setup, but it appears that the Feed Publisher component will not allow you to select custom Publisher Layouts from the dropdown.

It is not possible to post to the entire community from the Feed Publisher. Below are the target audiences for the publisher, depending on what page type you are on:

For more detail on “Who Sees What” when you post to Chatter, take a look at this section in Trailhead’s “Lightning Experience Chatter Basics” module.

Feed & Feed Compact

As of Summer ‘17, there is no such thing as a truly open/public feed. In most cases, Feeds work similarly to Facebook. Users will need to follow people and topics that interest them— if they are not following anything, their feed is most likely empty or shows only the feed content they have personally created in the community.

Once again, the most important property of the Feed & Feed Compact components to understand is the Type field. Below is a breakdown of what type of content, or “feed item” shows when the different options available for the Type property are selected.

Resources

If you would like to see a public feed option eventually make its way to Lightning Communities, be sure to vote up the idea in Salesforce’s Success Community!

  1. Note that this does not mean the post is private to the user. Anyone that has access to view the user’s profile will see your message. If you’re looking for a way to allow users to privately message one another, you may want to enable Direct Messaging in your community.