• 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

  • Apex Trigger Framework

    Apex Trigger Framework

    Triggers are Apex scripts that execute before or after data manipulation events, such as before or after records insert, update, or delete. They are written to perform tasks that can’t be done by using point-and-click tools in Salesforce. But writing ✍️ Trigger in proper way with proper design makes it more sensible and will avoid bringing… Read more

  • How to get Picklist field API and Label both in Apex

    How to get Picklist field API and Label both in Apex

    This requirement can be achieved using Schema class. PFB one example UtilityClass which will return the API to Label mapping. PFB the Output: Read more

  • Dynamic/Reusable Table in LWC (Salesforce)

    Dynamic/Reusable Table in LWC (Salesforce)

    Use-case: Suppose in your application you have 10 tables to show. So instead of writing code for each table, you can think of this dynamic/reusable table. Create Dynamic/Reusable Table Define a Custom Metadata Type: Create a Custom Metadata Type named Table_Column_Metadata__mdt. Add fields to store column information such as API_Name__c (API name of the field),… Read more

  • How to add straight line in LWC (Salesforce)

    How to add straight line in LWC (Salesforce)

    CSS will do the job. Sharing sample code. Component: CSS: 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 8 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 (Digital Experience), Health & force.com cloud. But wider touch on service cloud, Einstein analytics, etc.