function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
satheesh psatheesh p 

Salesforce 1 Push Notification

i am working on Salesforce Lighning.when i create a new account it shows notification in salesforce 1.how can i do it.i already enabled push notification option in lightning.Can any one try to help me.

Thanks..

alsinan nazimalsinan nazim
Hi Satheesh,

First Create the PushTopic for the Account Object and in the Lightning App, you have to initialize the Cometd or some Streaming so that you can subscribe to the initialized channel.

for steps please follow this link:
https://www.sundoginteractive.com/blog/starting-a-pushtopic-for-the-streaming-api-in-salesforce