How & What: Salesforce Platform Events (Part 2)

In our last blog post, we’ve explained what Platform Events are and how to publish them in Salesforce. In this post, we’ll be talking about Subscribing/Listening to the Platform Events to be notified of the latest news. You can receive event notifications via Apex triggers, process builder, and visual flows. Subscribe with Apex Triggers Apex Triggers receive event notifications from...
Read More

Salesforce Lightning Data Service (BETA Summer’17) to the rescue!

Salesforce is introducing Lightning Data Service Beta version in Summer ’17 release. This will prove to be a very useful and exciting feature for the developers. Consider Lightning Data Service a response to Standard (Set) Controller for VisualForce pages. Lightning Data Service allows to load, create, edit, or delete a record in your component without requiring Apex code as well...
Read More

(Don’t) Send Emails with Apex!

Just came across a situation where suddenly the client started receiving this error: SINGLE_EMAIL_LIMIT_EXCEEDED I was surprised to see that since I never recommend to send emails using Apex. The limit of 5000 emails per day is too tight. Following aspects should be driving the design: Send emails through workflows/process builders etc. If you have to send emails through Apex:...
Read More