Technology: Salesforce

How to create Opportunity Line Item using Apex in Salesforce?

 - 
Sample Code: We cannot assign Product2Id to OpportunityLineItem. Cheers!!!

Convert Comma Separated String to a List Using Apex

 - 
Salesforce provides String class which can be used to work with string. You can use the Split method. For Example

Progress Indicator in Lightning Component

 - 
Progress Indicator Component: Progress Indicator Component JS Controller: Lightning Test App: Output: Note: To create “base” style progress indicator you have need to add type=”base” attribute in your lightning:progressIndicator tag in lightning component.

Salesforce Lightning Progress Bar With Conditional Theme

 - 
Lightning Component: Lightning JS Controller Lightning Style: Output: Lightning Component and JS Controller lightning:progressIndicator

Salesforce Lightning Confirm Dialog Box

 - 
Lightning Component: Lightning JS Controller: Output: