What is the Right Setting to Receive Push Notification

So I have a VF page with Streaming API and it’s working fine in me because I’m the System Administrator. Now I’m testing out as another user with different profile, and the Streaming API is not working for this user.

This is what I enabled In user’s Profile:

Object
PushTopic
Read  -  true

And also The Custom Object I’m Streaming

Enable Streaming API - true

And of course I enabled the Streaming API for my ORGANISATION.

Did I miss something?

Answer

It’s most likely the field level security for the fields that you’re listening for a change or permissions for the object that you’re subscribing for in your query for that particular user’s profile.

These are the things you should look out for every time you experience an issue when switching between profiles.

Attribution
Source : Link , Question Author : mdechavez , Answer Author : Boris Bachovski

Leave a Comment