You need to sign in to do that
Don't have an account?
John Lewis 29
How can a Visualforce Page or Lightning Component provide a button which lets users access the 'Add Products' and 'Edit Products' pages for Quote Line Items?
We have a Visualforce Page which lists the QuoteLineItem records for a particular Quote record using the apex:pageBlockTable component. It also proves buttons (apex:commandButton) to access the standard ‘Add Products’ and ‘Edit Products’ pages by redirecting to the relative URLs for those pages, i.e.
/_ui/sales/quote/SelectSearch?addTo=XXX
/quoteitm/multilinelitem.jsp?quoteId=XXX
where XXX is the salesforce Id of the Quote.
This works fine in Salesforce Classic and also in Lightning Experience, although in the latter it still redirects to the ‘classic’ pages rather than the equivalent Lightning dialogs so the user experiences a switch from Lightning to Classic and back again when finished.
Question: is there a way to make the buttons load the Lightning Dialogs for ‘Add Products’ and ‘Edit Products’ either by modifying the VF Page or by replacing it with a Lightning Component or some other method?
Thanks in advance
John Lewis
/_ui/sales/quote/SelectSearch?addTo=XXX
/quoteitm/multilinelitem.jsp?quoteId=XXX
where XXX is the salesforce Id of the Quote.
This works fine in Salesforce Classic and also in Lightning Experience, although in the latter it still redirects to the ‘classic’ pages rather than the equivalent Lightning dialogs so the user experiences a switch from Lightning to Classic and back again when finished.
Question: is there a way to make the buttons load the Lightning Dialogs for ‘Add Products’ and ‘Edit Products’ either by modifying the VF Page or by replacing it with a Lightning Component or some other method?
Thanks in advance
John Lewis