Email Template SALESFORCE Salesforce Customization Salesforce.com Visualforce

How to fetch Contact details from Opportunity Contact Roles using SOQL in Salesforce?

How to fetch Contact details from Opportunity Contact Roles using SOQL in Salesforce? SOQL QUERY: SELECT Id, Opportunity.Name, Contact.Email, Contact.Name, Role, isPrimary FROM OpportunityContactRole Where OpportunityId =’OpportunityID’ Here: OpportunityID – place the opportunity id Opportunity Contact Role Output: OpportunityContactRole Object…

Read More
APEX Interview Questions and Answers SALESFORCE Salesforce Salesforce Customization Salesforce Interview Questions Salesforce.com SOQL SOSL Technical Interview Questions and Answers

Differences between SOQL and SOSL in Salesforce?

Differences between SOQL and SOSL in Salesforce? SOQL (Salesforce Object Query Language) Let’s you query a object in salesforce. You can have nested queries. Returns a list of sobject records. Example: List<Account> aa = [SELECT Id, Name FROM Account WHERE…

Read More
APEX Interview Questions and Answers SALESFORCE Salesforce Salesforce Interview Questions Technical Interview Questions and Answers

How to follow entities (Accounts, Contact, Opportunities, Custom Objects) in Chatter?

How to follow entities (Accounts, Contact, Opportunities, Custom Objects) in Chatter? By Adding records to the ‘EntitySubscription‘ object. This object is available only through the API. EntitySubscription Objects stores which user follows which Account, Contact, or any custom object Record…

Read More