Tag Archives: Apex

Implementing RSS feeds on your Home Page using Visualforce page

Salesforce allows its users the ability to modify their Standard Home page by using various components such as links, images, HTML area and Visualforce area; the latter being a Visualforce area component to display your Visualforce page. It has also abandoned a few features of its own to implement something better the best example of… Read More »

Batch Processing in Salesforce

Salesforce does not allow to perform DML operation more than 10K records in single transaction. Consider a situation where you have more than 10K records to perform DML operation. Due to Governing limitations of Salesforce (because of Multi-tenant architecture of Salesforce) you won’t be able to do the same. But Salesforce provided very nice feature… Read More »

Mass Deletion of Records

There are times when we want to perform Mass delete on Salesforce object records. We might come across a scenario where we want to perform Mass delete on large number of records of particular object which would delete records in bulk. We checked in Salesforce and we found that this functionality is available in Salesforce… Read More »

Usage of Interactive Apex Debugger

Introduction: In Winter’16 release, Salesforce offered a new “Apex Interactive Debugger” that shall make developers of other platforms feel comfortable working with Salesforce. An interactive debugger allows you to set, remove and suspend breakpoints. It also allows you to step in, step out, step over and through your code, as well as view variables at… Read More »

Use of regular expression in Apex

Regular expressions (or regex) are mainly used to check the Format and syntax. In simple terms, regex is a string that is used to compare another string by using a specific syntax. Similar to many other languages, Apex also provides regex capabilities. Read More: Real-time, bi-directional, multi-company – Sage ERP Integration with Salesforce Regex functionality… Read More »

Get key prefix of an object using Apex

Every record in Salesforce has an ID which is used to uniquely identify the record. Each ID value is globally unique. The first three digits represent the object type. For example, the Account object uses the 001 prefix; the Note object uses the 002 prefix, Contact uses 003, Users 005, Opportunity 006 etc. We can… Read More »

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 »