Blogs
-
Can we change the ParentId of EmailMessage Record in Salesforce
Requirement If email-to-case feature is enabled, sending email creates EmailMessage and creates or updates Case based on thread. Sometimes emails sent (from customers in a new thread) are linked to already an existing Case and you come up requirement to link the EmailMessage record with existing Case instead creating new one. Please note that EmailMessage…
-
Query list of apps installed in Salesforce
Requirement We can get the list of items in the Force.com app menu or App Launcher from the ‘AppMenuItem’ sobject. So, purpose is to get the list of apps installed from appexchange or created in a salesforce organization. Solution There is a sobject ‘PackageLicense’ represents licenses for installed managed packages.
-
Bulk Lead Conversion using Apex
Requirement The goal is being able to convert multiple leads into Accounts, Contacts, and Opportunities programmatically. This process utilizes the Database.LeadConvert class, which supports bulk processing to handle multiple leads efficiently. Technical Approach Using Apex for Bulk Lead Conversion Salesforce provides Database.LeadConvert in Apex which gets Lead Id as parameter and convert into Account, Contact…