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

Create Simple Login Page with PHP and MySQL

 - 
Using login page registered users sign in to the website and manage its account. On the user successful login attempt need to define $_SESSION. This helps to detect the user is actually logged in or not when going to another web pages and it also
Read More…

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:

JavaScript Confirm Dialog In Lightning Component

 - 
Lightning Component Lightning JS Controller:

Play with Events in Salesforce Lightning Component

 - 
Application Event: – Whenever our component are not connected to each other and in that case we wanted to communicate between the components. Then we go for application event. We do not need to register the application event, handler is need to handle the application
Read More…

Salesforce Lightning Events

 - 
sdsds Salesforce Lightning is a component based framework for the application development.Component is the core part of the lightning framework. The communication between components are handled by events. There are two types for events: Component Event Application Event Component Events can only be handled by
Read More…

Administrator Certification Maintenance (Summer 19)

 - 
Administrator Certification Maintenance (Summer 19) 1.An administrator needs to customize hyperlinks to match corporate branding. Which setting can the administrator set to assign custom colors to hyperlinks? A.Use brand color 2.How can different Activities Views be used once the default Activities View is enabled by
Read More…