Clone Opportunity with Products action on Opportunities ( Lightning Component )

I am following this idea since I needed this feature in one of my projects. Since Salesforce already has this in their future roadmap, I realized that It could be an addition to my #GivingBackToCommunity list. I managed to create a lightning component which can be used with lightning action on Opportunity records. This will … Continue reading Clone Opportunity with Products action on Opportunities ( Lightning Component )

Salesforce Cookies #13

How to validate fields in lightning components ( Form Validation in Lightning Component ) Some lightning components come with inbuilt validation and you need to trigger the validation in your client-side controller. Following components provide inbuilt validation support. lightning:input lightning:select lightning:textarea ui:input* lightning:input is more powerful when it comes to the validation as it honors … Continue reading Salesforce Cookies #13

How to create charts using D3 Library in Lightning Components

D3.js is the most popular library for creating interactive charts in any web application. You can also use D3.js library in Lightning components for graphical representation of data. These charts can be used to give sales insights to a member ( Salesforce user) of the sales team.  This article will show how can we leverage D3.js … Continue reading How to create charts using D3 Library in Lightning Components

How to create table with resizable columns using Lightning Design System ( Column Resizable DataTable )

Lightning design system comes with some really nice cascading stylesheet but still, there are some components where JS support is not provided. During a project, I came across the same where I had to write Javascript code by myself. After going many rounds of testing and changes, finally, I managed to get it working. It's … Continue reading How to create table with resizable columns using Lightning Design System ( Column Resizable DataTable )

Salesforce Cookies #12

How to remove the arrows from lightning:input[type="number"]? I think this is a generic question and Salesforce devs have looked for the ways to get rid of the spin buttons on the input field without changing it to text type for a purely numeric behaviour. You just need a few lines of CSS to solve your problem. … Continue reading Salesforce Cookies #12