Help & Support
Elevate Your Agents with AgentExchange Solutions
Easily enhance Agentforce with pre-built AI solutions from AgentExchange. Browse, install, and deploy agents, actions, and apps directly into your environment. Tell Me More
Have Questions?
Notification Bell for Experience Cloud (LWR)
View user notifications in Experience Cloud LWR!
- Requires
- Experience Cloud
- Compatible With
- Experience Cloud
Primarily developed for the Lightning Web Runtime, the Notification Bell component for Experience Cloud grants builders a drag / drop Notification component that displays a user's notifications.


Watch Video
Rating
Reputation
MVP
Recognized by Salesforce for their leadership, expertise, and generosity
Top Reviewer
Contribute reviews that encourage conversation and help others make informed decisions
Ranger
Lifelong learners who have earned the Ranger rank or higher on Trailhead
Showing 4 of 4 Reviews
Not compatible with API Access Control
With "API Access Control" enabled, the callout to the Rest Connect API Fails. The only workaround is to grant our community users the "Use Any Api Client" system permission.
Does not work with unauthorized error
I've granted the user: - API Enabled permission - Apex class access (NotificationsTrayController) - Remote site settings for Site and internal domain Despite this, I'm encountering the following error on a B2B Enhanced LWR site as a Buyer: - StatusCode = 401 - Status = Unauthorized - ErrorCode = INVALID_SESSION_ID - Message = This session is not valid for use with the REST API Logging out and in again hasn't resolved the issue. Upon further investigation, the org has all connected apps needing admin pre-approval by default. Giving "Use Any API Client" access works but this is not a permission we want to give the user. I have tried giving access to the profile/permission set to the Connected App Salesforce Chatter but still does not work.
Works great, but how to change the icon ?
It works great, but I am unable to change the icon, even when using a /resource ? also the icon I got in the sandbox is not the bell, it's a lightning surge icon, but it still shows as an icon bell. Thanks a lot
Missing LWR Component!
This component works for custom notifications, configuration allows to select which notification types is handled by the bell. Many possibilities to configure UI (size, colors, bell icon) you can brand it yourself. Works very fast. First version had some issue for sites with a custom domain but thanks to the George Abboud and Amit Yadav it was addressed very fast and fixed. LWR Template is more powerful now!
@Amit, thanks your code changes fixed the problem for my org (deployed the branch from your PR) @George, sorry I didn't noticed DM from you, but it looks like the root cause is addressed. Thanks Guys very much for your help, appreciate it! Waiting for the official release of the Notification Bell package with the fix.
@Amit "Allow guest users to access public APIs" is not needed, this setting refers to "guest users" meaning the unauthenticated part of the site. Notifications functionality does not apply to unauthenticated users. So this permission is not needed, whatever worked for you must've been something else you did, not enabling this permission. @Sebastian I sent you a DM on the trailblazer community to request that you setup a user for me in your sandbox so that I can help troubleshoot, but have not heard from you there. Can you please check and let me know if that's something we can do?
Hi Amit! Added the setting to my site ("Allow guest users to access public APIs") but it didn't help. Still the same error: "returnValue" : { "error": "System.TypeException: Invalid conversion from runtime type List<ANY> to Map<String,ANY>" } Request payload looks like this: { "namespace": "notifbell", "classname": "@udd/01p5t000009qVL4/NS", "method": "getNotifications", "isContinuation": false, "params": { "numDays": 30, "maxNumNotifications": 50, "notificationType": "0ML1i000000000fGAA" }, "cacheable": false } The same user (with a Customer Community Plus license) receives proper responses via standard ConnectAPI fired from LWC component. The status call: '/services/data/v60.0/connect/notifications/status': returns: { "lastActivity": "2024-03-01T10:12:39.728Z", "oldestUnread": "2024-02-19T16:42:37.066Z", "oldestUnseen": "2024-02-19T16:42:37.066Z", "unreadCount": 5, "unseenCount": 5 } '/services/data/v60.0/connect/notifications/' returns an array with 5 notification elements. If you need any further information about the sandbox and site configuration please let me know because the problem still exists. Regards, Sebastian
To sup up: 1. Experience Site built on LWR template 2. Site domain added to the Remote Site Settings 3. Community user has Customer Community Plus license 4. Custom Notification Type is created and generated successfully 5. Your Component is added to the site (Domain's Site selected, proper Custom Notification type checked 6. Site is published successfully 7. Your components returns an error (see the main comment details) 8. Custom piece of code that calls for the standard API [GET] connect/notifications/ returns an array of notification objects.
i have the exact same issue ! @Hieu, @George @Amit do we have a fix for this issue yet?