Author: Tejas Kapasi

Contains in aura:if : auraIfContains

Currently, we don’t have the ability to check contains in aura:if tag Which is most needed features in lightning. Component Name: AuraIfContains


Like our facebook page and get the latest updates. Do let us know if you want to see the blog on the specific topic.

Platform events in Salesforce !

Salesforce has recently introduced this feature and its much needed one. Let’s understand couple of Terms before going into deep. I am using TrailHead reference to write on this topic.   Event A change in state that is meaningful in a business process. Event message A message that contains data about the event. Also known […]

How to check Person Account are enabled using Apex?

Some time it is needed to check whether this org has person account enabled or not. There are couple of ways we can think of, Using Describe Call

– Describe Call count against Governor limits. Accessing field of Account (“isPersonAccount”)

In this method exception getting generated if that field doesn’t Exist.

Efficiently generate Set from List

Let’s check with some examples, Using Map

In second line we are creating new Map<Id,Sobject> from the results of first line, and then taking the keys from this map. Once this done, heap space is released for this map, and so it is one of the efficient method. One Liner (Without Dynamic SOQL)


Inner Query in Query Locator Bad Practice

Recently came across one code which had inner query in QueryLocator. For example some one has put that in Start method of Batch apex. To give exact example of Query in Start Method of Batch,

I think this is not the right way of doing query. To get into the reason why, i think […]