Salesforce Live Agent is a native Salesforce tool that provides the ability to communicate in real-time with your users. Live Agent connect with customers or website visitors in real time through a Web-based, text-only live chat. You can customize Live Agent to create a personalized chat experience for your customer service agents and the customers they serve using custom code.
Take control of your asynchronous Apex processes by using the Queueable interface. This interface enables you to add jobs to the queue and monitor them, which is an enhanced way of running your asynchronous Apex code compared to using future methods.
For Apex processes that run for a long time, such as extensive database operations or external Web service callouts, you can run them asynchronously by implementing the Queueable interface and adding a job to the Apex job queue. In this way, your asynchronous Apex job runs in the background in its own thread and doesn’t delay the execution of your main Apex logic. A benefit of using the Queueable interface methods is that some governor limits are higher than for synchronous Apex, such as heap size limits. Continue reading “Queueable Apex: More Than an @future”
Apex will allow you to make an order List of objects that you can then iterate over and manipulate. However, Apex will not let you use the built-in sort method for List to sort sObjects by a field inside. To do this, we have to implement our own comparable class to do the sorting for us.
If we need to save form data without page reload, generally we can use action function. When form is having some data and file and needed to save with action function (without reload page), then we needed to use two different Ajax call one is action function and another is VF Remoting.
To access sharing programmatically, you must use the shared object associated with the standard or custom object for which you want to share. Every object has a sharing object, API for standard object add ‘Share’ to the object name and for custom object add ‘__Share’ e.g. AccountShare and Customobject__Share.
Salesforce Object Query Language(SOQL) is used to search your organization’s data for specific information.
SOQL is similar to the SELECT statement in the widely used Structured Query Language (SQL) but is specifically designed for Salesforce.
SOQL can be used with Apex, Visualforce and Schema explorer of Force.com IDE.
Used when we need to perform similar action on various events. Even though you can use it in place of actionSupport as well where only event is related to only one control.
Well, here are few advantages of “Visualforce Remote Objects” :
- No need to write Controllers, Everything can be done in Visualforce only.
- As @RemoteAction annotated methods needs to be static so you had to take special precaution as it didn’t supported Viewstate. This hurdle is completely removed now.
- No need to write Test Class now, as no Controller is involved.
- Not counted against API call
We will be discussing about basics of Lightning components in this post and how Lightning application, component, controller, helpers and Apex controllers are connected with each other.