November 2018 archive

Salesforce Governor Limits

Governor Limits in Salesforce

Salesforce Governor Limits What is Salesforce Governor Limits? What are governor limits in salesforce? Salesforce Governor Limits 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 limits to ensure that …

Continue reading

Permanent link to this article: https://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: https://www.sfdcpoint.com/salesforce/auraif-tag-lightning-component-example/

apex random number Salesforce

apex random number Salesforce apex random number Salesforce Many time we have requirement to generate random number in Apex. It can be achieved using Math.random() function. This method return a positive Double that is greater than or equal to 0.0 and less than 1.0. This method only returns number between 0.0 and 1.0. Now its important …

Continue reading

Permanent link to this article: https://www.sfdcpoint.com/salesforce/apex-random-number-salesforce/

Delete Lightning Component in Salesforce

Delete Lightning Component in Salesforce

Delete Lightning Component in Salesforce Delete Lightning Component in Salesforce is very easy. If we don’t want to use IDE like sublime or Eclipse then we can use developer console. Open Developer Console Open Your lightning component from File -> Open Lightning Resource Click on File Delete or use shortcut Ctrl+Delete   Salesforce Lightning Interview …

Continue reading

Permanent link to this article: https://www.sfdcpoint.com/salesforce/delete-lightning-component-in-salesforce/