Tag Archives: Apex classes

How to create records from Apex Restful Service in Salesforce

In this blog, we will learn how to use Apex Restful service to create salesforce records. We will use Workbench to call the apex restful service to perform this procedure.  Step 1. Firstly, Login to the Workbench by using your salesforce org. For instance, use this link to login into Workbench Login-workbench Now, select the… Read More: How to create records from Apex Restful Service in Salesforce »

How to call an APEX Class from a Screen-Flow

This blog post will go over how to use a Screen Flow to call an Apex class using a straightforward example. The Screen Flow generated in this example has three variables that we have created. Initially, recordId is configured to be available for both input and output. 1. RecordId Variable The second variable that we… Read More: How to call an APEX Class from a Screen-Flow »

Deployment Options for Changeset

Salesforce ‘Winter 16’ release has provided a new way to deploy a change set in the production organization. These deployment changes include test options for change sets. Now, a user can choose which tests to run when validating an inbound change set in production or sandbox at the time of deployment. Test options provide flexibility… Read More: Deployment Options for Changeset »

Standard Controller and Custom Class Name Conflict

While working for one of our clients, we came across an unusual error. And the error said: –  Real-time, bi-directional, multi-company – Sage ERP Integration with Salesforce We had the same data type (at least as per us) on both sides of the assignment operator, a standard account record being assigned to a standard account… Read More: Standard Controller and Custom Class Name Conflict »

Delete apex class or trigger in Salesforce Production Org

It is not possible to directly delete an Apex class or trigger after it has been deployed to production. A quick workaround to delete or disable Apex Class/Trigger is by using eclipse and Force.com IDE. Here are the steps – Download Force.com IDE. Connect to the salesforce production org. Download the apex class/trigger. Open the… Read More: Delete apex class or trigger in Salesforce Production Org »

Dependent class is invalid and needs recompilation error

We had a trigger active and working fine for the past one year. This trigger would create a task and opportunity; as well as send an email based on certain business rules when the customer gave any kind of feedback online at the Salesforce portal. Some days back, we started getting the following error:This was… Read More: Dependent class is invalid and needs recompilation error »