10

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.

  • 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. – Daniel Ballinger Aug 12 '15 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 Aug 12 '15 at 9:30
  • Have you ever found a solution? – zaitsman Jul 17 at 6:30
6

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.

  • 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 Aug 7 '15 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 Aug 11 '15 at 16:58
  • 1
    IdeaExchange link... success.salesforce.com/ideaView?id=08730000000wkNCAAY – Kris Moyse Aug 11 '15 at 18:47
  • Any changes on this in the past 4 years? – zaitsman Jul 17 at 6:31
  • @zaitsman Not that I'm aware of, if you find anything please do post an answer here though! :) – Matt Lacey Jul 17 at 8:19

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.