2

As @sfdcfox suggested, you need to use a few UI API wire adapters. You'll need a combination of getRecord, getObjectInfo and getPicklistValues for a totally generic solution with no hardcoded Ids. The good news is that I blogged exactly about that: https://developer.salesforce.com/blogs/2019/12/retrieving-picklist-values-without-using-apex.html


2

You can use getPicklistValues to get the list of picklist values (filtered by record type), and getRecord to get the information off the opportunity record.


1

Actually, They are two different buttons for Classic and Lightning. Add Product - It appears in Classic Add Products - It appears in Lightning


1

You can not directly map a record type from lead to opportunity(Salesforce stores record type Id on the object which is different for lead and opportunity even when the record type names are same) As a workaround map text field from lead to opportunity which stores record type name and then create a workflow on the opportunity to populate the actual ...


Only top voted, non community-wiki answers of a minimum length are eligible