0

I came across an old article: How to refresh the chatter feed or feed item automatically?

This seems like this is exactly what I'm looking for. Does anyone know if this code is still valid (I am running Classic)? Also, how (or where) do I enter the Javascript?

if (window.chatter) {
    var feed = chatter.getFeed();
    var feedConfig = feed.getConfig();
    feed.refresh({
        feedType : feedConfig.feedType,
        isFullRefresh : true,
        params : feedConfig
    });
}
  • Are you using lightning or classics? – Pranay Jaiswal Feb 15 '19 at 16:07
  • @PranayJaiswal I am running Classic – Nicole G Feb 15 '19 at 16:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.