Skip to main content


Showing posts from May, 2022

Chaper - 0 Get start with Customer relationship management (CRM)

 Customer relationship management (CRM) In our day to day work we might come across a term called Customer relationship management or CRM, some might be thing what is CRM, How it works, How it can boost your business and so on.. Actually if you start thinking about something it will never ends and that's how human mind works. I'll be describing everything regarding CRM and will provide some best in class CRM suggestions. What is CRM? CRM is a technology for managing all your company's relationships and interactions with customers and potential customers. Goal of CRM: Improve business relationships Stay connected to customers Manage customer relationships Customer lifecycle 360 view Streamline processes Improve profitability What does a CRM system do? On very high level and for your understanding I'll list down few CRM capabilities but CRM can do more than these  Helps you find new customers Organizing customer and prospect information Collecting a customer's website

Object/Action name present in Org with Queryable/Retrieveable/Searchable and many more Status in Query

We always want to know what are the objects present in salesforce so we can utilize any existing if needed or to understand the structure more. Here are few ways which help you to do that. Basic Code to get all object without any query: Schema.DescribeSObjectResult objResult = o.getDescribe();             String obj = objResult.getName();                 System.Debug(objResult.getName()); Basic code to get Object record count, don't run for all object you might get exception of 101 SOQL. Try to run this in a loop of first 100 then 100-200 and more based on need. {             Schema.DescribeSObjectResult objResult = o.getDescribe();             String obj = objResult.getName();             Integer count = 0;             q = 'SELECT Count() FROM ' + obj;             try{                 count = Database.countQuery(q);             }catch(Exception e){                 continue;             }             mapdata.put(objResult.getName(),count);             System.Debug(objResult