• How to force reset Password from backend

    How to force reset Password from backend

    Sometimes you need to reset password from backend (i.e from Developer console). To do that, just run below code in anonymous window in Dev Console. Don’t forget to replace the ‘username@test.com’ and ‘CustomPW@1’ with the actual username and password. Syntax: System.setPassword(userid, password); Read more

  • How to add Hyperlink in Custom Label

    How to add Hyperlink in Custom Label

    When we print label on UI the HTML tags gets escaped by default due to security reasons. But if you are aware its static text then its ok to unescape html Custom Label: In AURA: Read more

  • How to Insert more than 10K records using Apex

    How to Insert more than 10K records using Apex

    Now this is very common use case and everybody will think of batch apex, which is obviously correct. But suppose you have below use case. When user insert an Account, you need to insert 15K related Contacts. Now this is tricky, why? Because for sure you will query Account in start method and build your… Read more

  • How to export Apex Test Class Coverage

    How to export Apex Test Class Coverage

    If you want to export a report like below, then its very simple and in a minute you can get the same. Just follow below steps: Read more

  • Validation on File Upload

    Validation on File Upload

    So there are two use case :1. Upload new file2. Relink existing fileLets consider below use case. I want to restrict user from uploading file in Contact record if the Level__c is ‘Primary’ So lets understand file , In Salesforce, ContentDocumentLink is an object that represents the link between a ContentDocument and a Salesforce record.… Read more

  • Dynamically Get Picklist Label & Values of any Object & Field in Salesforce

    Dynamically Get Picklist Label & Values of any Object & Field in Salesforce

    You can create a dynamic method to retrieve the picklist labels and values for any object and field in Salesforce. Here’s a dynamic method that takes the object API name and field API name as parameters: Now you can call the method to get the value. Like: Happy Learning 😊 Read more

About me

Hello There 👋
I am Jyoti Prakash Mishra (JP). I am working on Salesforce domain from Nov 2012. Currently, I am working as a Salesforce Technical Architect. I have 6 Salesforce Certifications and working hard to add more.

I am SFDC Geek and love to share my knowledge. An active member of salesforce groups. Generally, spend time in learning new Salesforce topics and completing trails.

In this Salesforce journey I have worked in various domains like healthcare, staffing, banking, manufacturing, etc. Mostly worked on Sales, Community & force.com cloud. But wider touch on service cloud, Einstein analytics, etc.