Tag Archives: apex references in salesforce

How to Get List of Apex Class by using ApextypeImplementor

It was very tedious apex code to get the List of Apex classes with specific Implementation class. Now Salesforce team is providing the “ApexTypeImplementor” feature. Really, we were waiting eagerly for this feature to arrive and From Spring 23 this feature will be generally available. ApexTypeImplementor Usage Below is a sample code to retrieve the… Read More »

How to send CSV attachment in apex code

In this blog, we will discuss How to send csv attachment in apex code. Here, we are going to see how create a csv file with code and then we will send that file as attachment to the mail with the help of the apex code. Apex logic to send the csv attachment with mail:… Read More »

How to Fetch current Record Id from Lightning Web Components (LWC)

This blog discusses on how to fetch the current record Id in the lightning web component. RecordId property is used in the lightning record page, and the property, i.e., recordId, is set to a current record Id. We are using this property in a JavaScript class using a @api decorator, and we need to define… Read More »

How to call the apex method in lightning web component

This blog will help you learn how to call the apex method in the lightning web component. To perform the functions written in the apex class to perform a specific task and create new business solutions. There are two ways to call Apex method from Lightning Web Component: Call apex method Using Wire services. Call… Read More »

Invoke Future Methods through Apex Trigger for web service callout

While developing applications in force.com, sometimes we need to consume external web service in apex trigger. But, callouts cannot be made from apex triggers as that restricts database transaction until the callout is completed and the time limit for this is up to 120 seconds.You can find other callout limits here. The only way to… Read More »