Blogs
-
Using Batch Apex as described in the Salesforce Apex Developer Guide.
Cluster Apex is employed for the execution of extensive operations, involving a substantial volume of records (think in terms of thousands or even millions!). It serves as a solution for processing tasks that would otherwise exceed the conventional processing limits. Through Batch Apex, you can process records in clusters in a non-concurrent manner (hence the…
-
Discovering Apex Classes that are not in use using the Tooling API and MetadataComponentDependency.
Can I use the Tooling API and SOQL to identify Apex Classes (or fields or any other metadata) within the org that are not being utilized or referenced? Upon executing I anticipated discovering null values for independent classes, but I couldn’t find any. As a result, I attempted the following approach. This approach also proved…
-
Invoke Salesforce REST API from Apex
“In the previous post, we discussed how Visualforce can be utilized to invoke Salesforce’s REST API. In this concise article, I will provide a brief code snippet to illustrate how Apex can be employed to make calls to Salesforce’s REST API. The initial and crucial step is to include your Salesforce instance URL in the…