0

We are using the platform events to deliver the custom lead notifications through apex class.

Database.SaveResult result = Eventbus.publish(leads);

When the user clicks on the notification message, Salesforce opens the Lead record in the new tab. How can we change this behavior to open the lead on the existing tab that the user is already working on.

  • How is the notification being shown to users? What component code are you using? – David Reed Feb 13 at 15:58

Your Answer

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

Browse other questions tagged or ask your own question.