Chatter Notifications

  • 1
  • Question
  • Updated 2 years ago
  • Answered
With Salesforce standard record detail page, when a user receives a Chatter email notification when they have been @mentioned in a record, when they click View/Comment button from the email, Salesforce opens the post on the record with comment section open for the to add their comments. I have noticed with Skuid detail pages users are directed to the detail page then the have to scroll thought the Chatter feed to find the post. 

Does anyone knows if there is a way to direct the user to the specific comment instead of just the detail page?

Is this possible with Skuid?
Photo of Andrew Ottaru

Andrew Ottaru

  • 412 Points 250 badge 2x thumb

Posted 4 years ago

  • 1
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
I'm not sure there will be a way to get this done.   The problem is twofold.  First Salesforce generates the Email that is sent to your user, and it has no knowledge of Skuid.  It would at least need to include a parameter to expose the correct tab in the detail page where Chatter is exposed. 

Seocndly - because we are using the Chatter VF component,  we are very limited in what can be passed in there.  Again the item ID stays in the URL as it goes through the Redirect process,  but the underlying page does not know to pass it into the chatter component and move to the correct post. 

Sorry... 
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Great Sleuthing Pat.  However I think the elbow grease happens in Salesforce server side processing and I'm not sure there will be any way for Skuid to effect a different outcome here.  Chatter is somthing of a black box... 
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
That's what I'm saying. I don't think we need any more information in order to facilitate this functionality. It's all there in the URL. Chatter, like everything else, is build of DOM elements. There is an id for the message that needs to be jumped to.

I guess I'm saying "What am I missing in order to auto-navigate to the message and set the focus on the Comment box?"

The only assumption is that the Chatter component is on the page on page load. I wouldn't expect this to work if the Chatter was on a tab, or popup, or drawer, etc, etc on page load.
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
^^bump^^

I'm fairly certain this can be done, but I'm not a jquery select guru to know for sure. Anyone able to confirm whether or not this is possible?
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
^^bump^^

I'm fairly certain this can be done, but I'm not a jquery select guru to know for sure. Anyone able to confirm whether or not this is possible?
Photo of Shmuel Kamensky

Shmuel Kamensky, Champion

  • 4,328 Points 4k badge 2x thumb
Pat, just perusing old chatter posts. 2 years of jquery later do you think this can be done?
Photo of Andrew Ottaru

Andrew Ottaru

  • 412 Points 250 badge 2x thumb
Thank you Rob.