Posts

Showing posts from February, 2026

Javascript Essential for Salesforce Developer

Event in JS An event listener is a JavaScript function that will be called when the specified event occurs on the element. There are many different types of events in JavaScript, such as mouse events (click, mouseover, etc.), keyboard events (keypress, keydown, etc.), and form events (submit, change, etc.). Event Listener To attach an event listener to an element, you use the addEventListener() method, available on all DOM elements. The first argument to addEventListener() is the type of event you want to listen for (e.g., "click", "submit", "load"), and the second argument is the function that should be executed when the event occurs. For example: var button = document.getElementById("myButton"); button.addEventListener("click", function() { alert("Button was clicked!"); }); var button = document.getElementById("myButton"); button.addEventListener("click", function() { alert("Button was clicked!...

Important Objects in Salesforce

Lead - Lead - Lead object is used to store information about a person interested in the product or service we are delivering.In business term lead are the potential customer. Lead Conversion means qualifying a lead to the sales process. Lead Management is a process that allow us to measure and monitor lead conversion. Important field of Lead Object - Company - Name of the company with which lead is affiliated. Title - Position of lead within his/her company. Lead Status - Open,Contacted,Working,Closed-Converted or Closes - Not Converted Lead Source - eg - web,purchased list,partner refferal Important fields in lead - Lead-->Company,LastName,status Related list of Lead - Campaign History - Campaign and Leads are related through a junction Object.i.e - Campaign Member Campaign History related list describe that in which campaign this particlular lead has been added as a member and also it's status for that campaign .When we initially create a lead record and add the campaign throu...