2018 archive

Difference between WhoId and WhatId

Difference between WhoId and WhatId

Difference between WhoId and WhatId What is difference between WhoId and WhatId? Difference between WhoId and WhatId WhoID in Salesforce refers to people things. So that would be typically a Lead ID or a Contact ID. The WhoId represents a human such as a lead or a contact. WhoIds are polymorphic. Polymorphic means a WhoId is …

Continue reading

Permanent link to this article: http://www.sfdcpoint.com/salesforce/difference-between-whoid-and-whatid/

Use Lightning Components in Visualforce Pages

Use Lightning Components in Visualforce Pages output

Use Lightning Components in Visualforce Pages Use Lightning Components in Visualforce Pages How To Display Lightning Component In Visualforce Page In this post, we will see how we can use Lightning Components in Visualforce Pages or how to display Lightning Component In Visualforce Page. Even though the use of lightning is growing day by day, …

Continue reading

Permanent link to this article: http://www.sfdcpoint.com/salesforce/use-lightning-components-in-visualforce-pages/

wrapper class in lightning component salesforce

wrapper class in lightning component salesforce output

wrapper class in lightning component salesforce wrapper class in lightning component salesforce A wrapper or container class is a class, a data structure, or an abstract data type which contains different objects or collection of objects as its members. In this post we will see how we can use wrapper class in lightning component to …

Continue reading

Permanent link to this article: http://www.sfdcpoint.com/salesforce/wrapper-class-in-lightning-component-salesforce/

Salesforce Integration Interview questions and answers

Salesforce Integration Interview questions and answers In this post I am going to share Salesforce Integration Interview questions and answers Salesforce Integration Interview questions and answers What is Integration? Integration is a process of connecting two applications. A typical enterprise uses many applications, many or most of which are not designed to work with one another …

Continue reading

Permanent link to this article: http://www.sfdcpoint.com/salesforce/salesforce-integration-interview-questions-and-answers/

salesforce email service

salesforce email service

salesforce email service Salesforce Email service is automated process that use Apex class to process inbound email. When we set up an email service, we need to generate a special email address in which salesforce will receive your emails. We also need to create one apex class to implement Messaging.InboundEmailHandler interface . The email services …

Continue reading

Permanent link to this article: http://www.sfdcpoint.com/salesforce/salesforce-email-service/

System.NullPointerException: Attempt to de-reference a null object

System.NullPointerException: Attempt to de-reference a null object How to solve System.NullPointerException: Attempt to de-reference a null object error System.NullPointerException: Attempt to de-reference a null object is very common error in apex class.  It occurs when your variable (sobject, list, set or any other data type) is not initialized (allocated memory). In order to use the non primitive data type …

Continue reading

Permanent link to this article: http://www.sfdcpoint.com/salesforce/system-nullpointerexception-attempt-to-de-reference-a-null-object/

Assignment rules in Salesforce

Assignment rules in Salesforce

Assignment rules in Salesforce What are assignment rules in salesforce? Assignment rules are used to automatically assign lead or Case to owner(User Or Queue). Its used to automate owner assignment on Case and Lead based on conditions on Case or Lead. Types of assignment rules: Lead Assignment Rules  : Specify how leads are assigned to …

Continue reading

Permanent link to this article: http://www.sfdcpoint.com/salesforce/assignment-rules-in-salesforce/

Using apex:repeat in Visualforce Page

Using apex:repeat in Visualforce Page Using apex:repeat in Visualforce Page apex:repeat is an iteration component that allows you to output the contents of a collection according to a structure that you specify. The collection can include up to 1,000 items. Note that if used within an <apex:pageBlockSection> or <apex:panelGrid> component, all content generated by a …

Continue reading

Permanent link to this article: http://www.sfdcpoint.com/salesforce/using-apexrepeat-in-visualforce-page/

Salesforce Governor Limits

Salesforce Governor Limits What is Salesforce Governor Limits? What are governor limits in salesforce? Salesforce Governor Limits or governor limits in salesforce Apex runtime engine strictly enforces limits to ensure that runaway Apex code or processes don’t monopolize shared resources. Why Salesforce has Governor Limits? Because Apex runs in a multitenant environment, the Apex runtime engine strictly enforces …

Continue reading

Permanent link to this article: http://www.sfdcpoint.com/salesforce/salesforce-governor-limits/

aura:if tag Lightning component example

aura if tag Lightning component example output

aura:if tag Lightning component example aura:if tag Lightning component example aura if renders the content within the tag if the isTrue attribute evaluates to true. The framework evaluates the isTrue expression and instantiates components either in its body or else attribute. Difference between aura if and aura renderIf aura:if instantiates the components in either its body or the else attribute, but not both. aura:renderIf instantiates both the components …

Continue reading

Permanent link to this article: http://www.sfdcpoint.com/salesforce/auraif-tag-lightning-component-example/