Useful tips for everyday
How do I use exceptions in Apex? You can’t throw built-in Apex exceptions. You can only catch them. But with custom exceptions, you can throw…
When do I get the error cannot assign to read only property? I get the error: [Cannot assign to read only property ‘Registration_Type__c’ of object…
How to log in to the Salesforce mobile app? But if you want to log in from a custom address such as your org’s single…
What is the difference between CONTENTVERSION and contentDocument? The above query gives the list of IDs of contentVersion for which contentDocument is present as it…
How do you test a batch class? When testing your batch Apex, you can test only one execution of the execute method. You can use…
Can you assign permission sets to profiles? Currently it’s possible to assign permissions on objects/fields via Profile or via Permission Set. Assigning Permission Sets to…
How do I overcome NullPointerException? How to avoid the NullPointerException? To avoid the NullPointerException, we must ensure that all the objects are initialized properly, before…
How to implement column sorting in Salesforce Lightning DataTable? Hi guys, Today in this post we are going to learn how we can implement custom…
What is a common short code? A common short code (CSC) is a short telephone number, usually consisting of five digits, that is used to…
How do I choose a quadcopter battery? First of all, select the battery with the highest capacity which can provide longer flight time. Making a…