How to run test class using Eclipse Force.com IDE in Salesforce?
Right Click the class --> Force.com -> Run Tests. Cheers!!!
Right Click the class --> Force.com -> Run Tests. Cheers!!!
Once an account, contact, or lead is linked to a social network profile, you and everyone else in your organization can access current social data without having to log in ....
FOR UPDATE keyword in SOQL helps us to lock the records from being updating from another request. Sample Code: List<Contact> listCon = [SELECT Id, FirstName FROM Contact WHERE FirstName LIKE ....
Apex can be executed synchronously or asynchronously.Synchronous:In a Synchronous call, the thread will wait until it completes its tasks before proceeding to next. In a Synchronous call, the code runs ....
Sample Code: String str = 'abc'; String revStr = str.reverse(); system.debug('Reversed string is ' + revStr); Output: Cheers!!!
Lead is nothing but information about an organization or an individual person who is interested in your product. Lead Source is the primary source from which the lead is generated. ....
Sample Code: Visualforce Page: <apex:page standardController="Account" extensions="Sample"> <apex:form > <apex:pageMessage rendered="{!NOT(updateBool)}" severity="info">Insert</apex:pageMessage> <apex:pageMessage rendered="{!updateBool}" severity="info">Update</apex:pageMessage> </apex:form> </apex:page> Apex Class: public class Sample { public ....
To fix this issue, please check the OWD of the objects. Cheers!!!
Soft deletion of records is nothing but Logical deletion. Soft deleted records will be stored in Recycle Bin. Hard deletion of records is nothing but Physical deletion. Hard deleted records ....