+ Start a Discussion
pranav shah 40pranav shah 40 

bell notification for chatter

Dear All,

I have an requirement for my custom lightning community page , where i am showing a bell icon through lightning icon, now when someone posts on chatter for particular Campaign then that should be notify to user on bell icon.
How it can be achieved thorugh apex or something else??


Regards
Pranav Shah
AbhishekAbhishek (Salesforce Developers) 
You can definitely send Bell Notifications via apex. Andrew Fawcett explained this feature in detail in his article 

https://andyinthecloud.com/2019/06/30/getting-your-users-attention-with-custom-notifications/.

Try the code snippet as mentioned in the below developer discussion,

https://salesforce.stackexchange.com/questions/256989/bell-notifications-via-apex


Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.

Thanks.