11

If you @mention or send a message to a Chatter user, you get a notification in Salesforce1. This appears immediately so it's a safe bet that push notifications are being used to dispatch them. However if I then log into Salesforce1 via /one/one.app, I can still see those same notifications in the same state (i.e. read/unread).

Is there a way I can get this list of notifications, be it via the API or through Apex? I don't need them real-time like push notifications, but just being able to poll for them.

3
  • I assume you are after an official API rather than a grey area that would give you the same data? I'm sure with enough motivation the underlying data source that Salesforce1 is using could be extracted. Commented Aug 12, 2015 at 2:17
  • 1
    Yeah ideally. I suspect that Salesforce1 is using push notifications and that it's actually hooked up to that in the internals of Chatter... would be good to know though!
    – Matt Lacey
    Commented Aug 12, 2015 at 9:30
  • Have you ever found a solution?
    – zaitsman
    Commented Jul 17, 2019 at 6:30

1 Answer 1

7

There isn't a way to do this yet, but it's something that we want to provide. I encourage you to submit an idea on the IdeaExchange for working with in-app notifications through the API and Apex.

5
  • 3
    IdeaExchange is where good ideas go to die ;) I'll give it a crack but IMHO IdeaExchange has never fulfilled it's destiny and become what it should be.
    – Matt Lacey
    Commented Aug 7, 2015 at 3:55
  • 1
    Agreed, IdeaExchange never delivers developer ideas, never gets enough votes. I thought Parker Harris said everything in Salesforce is API first and 10x the APIs at last dreamforce? It is in Salesforce1 so it must have an API and data behind it, he said Salesforce1 was only built on APIs. Cant be that hard to open it up ;)
    – Kris Moyse
    Commented Aug 11, 2015 at 16:58
  • 1
    IdeaExchange link... success.salesforce.com/ideaView?id=08730000000wkNCAAY
    – Kris Moyse
    Commented Aug 11, 2015 at 18:47
  • Any changes on this in the past 4 years?
    – zaitsman
    Commented Jul 17, 2019 at 6:31
  • @zaitsman Not that I'm aware of, if you find anything please do post an answer here though! :)
    – Matt Lacey
    Commented Jul 17, 2019 at 8:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .