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:

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…

What is an Attribute in Lightning?

 - 
What is an Attribute in Lightning? Example: Name and type are a parameter of an attribute that is always required in attributes, the description is another parameter where we can mention about description of attribute. Description is not a required parameter. Similarly, we have a default parameter to give some default value
Read More…